This page is experimental and may change significantly in future releases.
Public cloneable() Method Without Final ('Object Hijack')
Properties
id: d3f:CWE-491
- name
- Public cloneable() Method Without Final ('Object Hijack')
- definition
- A class has a cloneable() method that is not declared final, which allows an object to be created without calling the constructor. This can cause the object to be in an unexpected state.
Neighbors
CWE-491 has no direct neighbors in this release.Inferred Relationships
Related Countermeasure Techniques
Related Weaknesses
CWE-491 has no related weaknesses in this release.