CVE-2019-12086

Severity CVSS v4.0:
Pending analysis
Type:
CWE-502 Deserialization of Untrusted Dat
Publication date:
17/05/2019
Last modified:
07/11/2023

Description

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.x before 2.9.9. When Default Typing is enabled (either globally or for a specific property) for an externally exposed JSON endpoint, the service has the mysql-connector-java jar (8.0.14 or earlier) in the classpath, and an attacker can host a crafted MySQL server reachable by the victim, an attacker can send a crafted JSON message that allows them to read arbitrary local files on the server. This occurs because of missing com.mysql.cj.jdbc.admin.MiniAdmin validation.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:fasterxml:jackson-databind:*:*:*:*:*:*:*:* 2.0.0 (including) 2.6.7.3 (excluding)
cpe:2.3:a:fasterxml:jackson-databind:*:*:*:*:*:*:*:* 2.7.0 (including) 2.7.9.6 (excluding)
cpe:2.3:a:fasterxml:jackson-databind:*:*:*:*:*:*:*:* 2.8.0 (including) 2.8.11.4 (excluding)
cpe:2.3:a:fasterxml:jackson-databind:*:*:*:*:*:*:*:* 2.9.0 (including) 2.9.9 (excluding)
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*


References to Advisories, Solutions, and Tools