CWE-491—Public cloneable() Method Without Final ('Object Hijack')
PUBLISHEDweakness record
released 2006-07-19 · last modified 2025-12-11
Metadata
名称
Public cloneable() Method Without Final ('Object Hijack')
描述
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.