CVE-2019-12086 Information exposure in FasterXML jackson-databind
Attackers can read arbitrary local files via crafted JSON messages when Default Typing is enabled and MySQL connector is present.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-12086?
CVE-2019-12086 is a high-severity unsafe deserialization vulnerability in Debian Debian Linux, published on 17 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-502
Which versions are affected by CVE-2019-12086?
8 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
com.fasterxml.jackson.core:jackson-databind Maven | From 2.0.0 | 2.6.7.3 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.0.0 | 2.6.7.3 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.7.0 | 2.7.9.6 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.7.0 | 2.7.9.6 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.8.0 | 2.8.11.4 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.8.0 | 2.8.11.4 |
2 more packages
com.fasterxml.jackson.core:jackson-databind Maven | From 2.9.0 | 2.9.9 |
com.fasterxml.jackson.core:jackson-databind Maven | From 2.9.0 | 2.9.9 |
Products include Debian Debian Linux, Fasterxml Jackson-Databind.
How do I fix CVE-2019-12086?
Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.6.7.3, 2.7.9.6, 2.8.11.4 or 2.9.9.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2019-12086 being exploited?
There is no known exploitation of CVE-2019-12086 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CLEANSTART-2026-RV05349, DEBIAN-CVE-2019-12086, DLA-1798-1, GHSA-5ww9-j83m-q7qx, ROOT-APP-MAVEN-CVE-2019-12086, UBUNTU-CVE-2019-12086.