Skip to main content

Deserialization of Untrusted Data

CVE-2023-33008

Severity Medium
Score 5.3/10

Summary

In Apache Johnzon versions prior to 1.2.21, a malicious attacker can craft up some JSON input that uses large numbers (numbers such as 1e20000000) that will deserialize into "BigDecimal" and maybe use numbers too large which may result in a slow conversion (Denial of service risk). Apache Johnzon 1.2.21 mitigates this by setting a scale limit of 1000 (by default) to the "BigDecimal".

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • LOW

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