VYPR

CWE-498

Cloneable Class Containing Sensitive Information

VariantDraftLikelihood: Medium

Description

The code contains a class with sensitive data, but the class is cloneable. The data can then be accessed by cloning the class.

Cloneable classes are effectively open classes, since data cannot be hidden in them. Classes that do not explicitly deny cloning can be cloned by any other class without running the constructor.

Hierarchy (View 1000)

Parents

Children

none

CVEs mapped to this weakness (0)

No CVEs match the current filter.