Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: REM cost reform

...

Serialization of inner classes can introduce platform dependencies and can cause serialization of instances of the outer class.

Rule

Severity

Likelihood

Remediation Cost

Detectable

Repairable

Priority

Level

SER05-J

Medium

Likely

Medium

Yes

No

P12

L1

Automated Detection

Detection of inner classes that implement serialization is straightforward.

ToolVersionCheckerDescription
Klocwork

Include Page
Klocwork_V

SonarQube Java Plugin

Klocwork_V

JAVA.SERIALIZE.INNER
SonarQube
Include Page
SonarQube
Java Plugin
_V
SonarQube
Java Plugin
_V
S2066
,

S2059
Implemented

...


Related Guidelines

MITRE CWE

CWE-499, Serializable Class Containing Sensitive Data

Bibliography

...


...