Polymorphic Typing in FasterXML jackson-databind
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| com.fasterxml.jackson.core:jackson-databind Maven |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| com.fasterxml.jackson.core:jackson-databind Maven |
|
|
A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.0.0 through 2.9.10. When Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint and the service has the commons-dbcp (1.4) jar in the classpath, and an attacker can find an RMI service endpoint to access, it is possible to make the service execute a malicious payload. This issue exists because of org.apache.commons.dbcp.datasources.SharedPoolDataSource and org.apache.commons.dbcp.datasources.PerUserPoolDataSource mishandling.
From the CVE record · mitre
FasterXML jackson-databind is vulnerable to a polymorphic typing issue involving commons-dbcp data source classes. A remote attacker can make a service execute a malicious payload if Default Typing is enabled for an externally exposed JSON endpoint, commons-dbcp 1.4 is on the classpath, and the attacker can access an RMI service endpoint. The input does not specify authentication requirements or user interaction.
Check services using Maven com.fasterxml.jackson.core:jackson-databind versions >=2.9.0 <2.9.10.1, >=2.7.0 <2.8.11.5, or >=2.0.0 <2.6.7.3.