Skip to main content

Deserialization of Untrusted Data


Severity High
Score 9.8/10


Dozer improperly uses a reflection-based approach to type conversion, which might allow remote attackers to execute arbitrary code via a crafted serialized object. NOTE: This vulnerability raised some discussion in a Dozer's GitHub Issue page. Some users claimed that the issue is not directly related to Dozer itself but to "all mapping frameworks with such generic design". The SCA AppSec team analyzed these claims and confirmed that this vulnerability should be indeed marked as disputed. However, the vulnerability still represents a security issue and the Dozer package can be used to exploit it. For this reason, all versions of Dozer are vulnerable. We strongly recommend migrating away from Dozer and using a different Bean mapper package.

  • LOW
  • HIGH
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-502 - Deserialization of Untrusted Data

Deserialization of untrusted data vulnerabilities enable an attacker to replace or manipulate a serialized object, replacing it with malicious data. When the object is deserialized at the victim's end the malicious data is able to compromise the victim’s system. The exploit can be devastating, its impact may range from privilege escalation, broken access control, or denial of service attacks to allowing unauthorized access to the application's internal code and logic which can compromise the entire system.

Advisory Timeline

  • Published