CWE-491Variant

Public cloneable() Method Without Final ('Object Hijack')

Draft in the CWE catalog · 0 CVEs mapped

0
CVEs mapped
What it is

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.

The record
Technical detail
CWE ID
CWE-491
Abstraction
Variant
Structure
Simple
Status
Draft
References (2)