VYPR
High severityNVD Advisory· Published Aug 25, 2020· Updated Aug 4, 2024

CVE-2020-24616

CVE-2020-24616

Description

FasterXML jackson-databind 2.x before 2.9.10.6 mishandles the interaction between serialization gadgets and typing, related to br.com.anteros.dbcp.AnterosDBCPDataSource (aka Anteros-DBCP).

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

FasterXML jackson-databind before 2.9.10.6 allows remote code execution via unsafe deserialization due to incomplete gadget blocking for AnterosDBCPDataSource.

CVE-2020-24616: Jackson Databind Unsafe Deserialization via Anteros-DBCP

CVE-2020-24616 is a remote code execution (RCE) vulnerability in FasterXML jackson-databind versions 2.x before 2.9.10.6. The issue arises from the library's handling of polymorphic type deserialization when enableDefaultTyping() is used. The vulnerability is related to the interaction between serialization gadgets and typing, specifically involving the br.com.anteros.dbcp.AnterosDBCPDataSource class from the Anteros-DBCP library [2].

Exploitation

An attacker can exploit this vulnerability by crafting a malicious JSON payload that, when deserialized by a Jackson object mapper with default typing enabled, triggers the instantiation of an AnterosDBCPDataSource object. This object's constructor or setter methods can be leveraged to execute arbitrary commands, similar to other known Jackson gadget chains. The attack requires no authentication if the endpoint is exposed, but relies on the presence of the Anteros-DBCP library on the classpath [3].

Impact

Successful exploitation allows an unauthenticated attacker to achieve remote code execution on the server, leading to full system compromise. The vulnerability was assigned a CVSS score of 8.1 (High) due to the potential for RCE without user interaction [2].

Mitigation

The fix was implemented in jackson-databind version 2.9.10.6 by adding br.com.anteros.dbcp.AnterosDBCPDataSource to the block list in SubTypeValidator [4]. Users should upgrade to this version or later, or disable default typing if possible. No workaround exists other than upgrading or removing the vulnerable class from the classpath.

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
com.fasterxml.jackson.core:jackson-databindMaven
>= 2.0.0, < 2.9.10.62.9.10.6

Affected products

2

Patches

1
3d97153944f7

Add a block for #2814

https://github.com/FasterXML/jackson-databindTatu SalorantaAug 11, 2020via ghsa
2 files changed · +6 2
  • release-notes/VERSION-2.x+3 1 modified
    @@ -6,8 +6,10 @@ Project: jackson-databind
     
     2.9.10.6 (not yet released)
     
    -#2798: Block one more gadget type (xxx, xxx)
    +#2798: Block one more gadget type (xxx, CVE-xxxx-xxx)
      (reported by Al1ex@knownsec)
    +#2814: Block one more gadget type (xxx, CVE-xxxx-xxx)
    + (reported by ChenZhaojun)
     
     2.9.10.5 (21-Jun-2020)
     
    
  • src/main/java/com/fasterxml/jackson/databind/jsontype/impl/SubTypeValidator.java+3 1 modified
    @@ -137,9 +137,11 @@ public class SubTypeValidator
             // [databind#2631]: shaded hikari-config
             s.add("org.apache.hadoop.shaded.com.zaxxer.hikari.HikariConfig");
     
    -        // [databind#2634]: ibatis-sqlmap, anteros-core
    +        // [databind#2634]: ibatis-sqlmap, anteros-core/-dbcp
             s.add("com.ibatis.sqlmap.engine.transaction.jta.JtaTransactionConfig");
             s.add("br.com.anteros.dbcp.AnterosDBCPConfig");
    +        // [databind#2814]: anteros-dbcp
    +        s.add("br.com.anteros.dbcp.AnterosDBCPDataSource");
     
             // [databind#2642]: javax.swing (jdk)
             s.add("javax.swing.JEditorPane");
    

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

15

News mentions

0

No linked articles in our index yet.