Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Understand what the superclass does and watch out for mutating functionality
  • Make sure that new methods that are added to the superclass are overridden appropriately if there is some division of logic
  • Never modularize in absurd ways as is apparent in the noncompliant code example

Risk Assessment

TODOModifying a superclass without considering the effect on a subclass can introduce vulnerabilities.

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

OBJ01-J

?? medium ??

probable

?? high

P??

L??

Automated Detection

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

References

Wiki Markup
\[[SCG 07|AA. Java References#SCG 07]\] Guideline 
Sun Secure Coding Guideline
1-3 Understand how a superclass can affect subclass behavior