#VU21580 Input validation error in jackson-databind


| Updated: 2020-01-30

Vulnerability identifier: #VU21580

Vulnerability risk: Medium

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-16942

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
jackson-databind
Universal components / Libraries / Libraries used by multiple products

Vendor: FasterXML

Description

The vulnerability allows a remote attacker to compromise the affected application.

The vulnerability exists due to a Polymorphic Typing issue when processing JSON requests  within the org.apache.commons.dbcp.datasources.SharedPoolDataSource and org.apache.commons.dbcp.datasources.PerUserPoolDataSourc components. A remote attacker can send specially crafted JSON data to an RMI service endpoint and execute arbitrary code on he system.

Successful exploitation of the vulnerability requires that Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint, the service has the commons-dbcp (1.4) jar in the classpath, and an attacker can find an RMI service endpoint to send requests to.

Mitigation
Install update from vendor's website.

Vulnerable software versions

jackson-databind: 2.0.0 - 2.0.4, 2.1.0 - 2.1.4, 2.3.0 - 2.3.5, 2.4.0 - 2.4.6.1, 2.5.0 - 2.5.5, 2.6.0 - 2.6.8, 2.7.0 - 2.7.9.6, 2.8.0 - 2.8.11.4, 2.9.0 - 2.9.10


External links
http://github.com/FasterXML/jackson-databind/issues/2478
http://issues.apache.org/jira/browse/GEODE-7255
http://medium.com/@cowtowncoder/on-jackson-cves-dont-panic-here-is-what-you-need-to-know-54cd0d6e8062


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability