Skip to main content

CVE-2019-12086 — Information exposure in jackson-databind

HIGH

Information exposure in FasterXML jackson-databind

Published May 23, 2019Updated March 15, 2024Source: OSV

What Should I Do?

Low-to-Moderate Risk

Exploitation probability is 21.95% in 30 days. Address in your next planned sprint.

Does your project use an affected com.fasterxml.jackson.core:jackson-databind version?

Paste your pom.xml to check it for CVE-2019-12086 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

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.

Advisory Timeline

  • First published May 23, 2019 (2744 days ago).
  • Last revised March 15, 2024 — 1758 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.6.7.3 or later
<!-- Update pom.xml dependency version to 2.6.7.3 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.9.9 or later
<!-- Update pom.xml dependency version to 2.9.9 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.8.11.4 or later
<!-- Update pom.xml dependency version to 2.8.11.4 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.7.9.6 or later
<!-- Update pom.xml dependency version to 2.7.9.6 for com.fasterxml.jackson.core:jackson-databind -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Maven (1).

PackageFixed In
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.0.0, 2.0.1, 2.0.2, 2.0.4 (+57 more)2.6.7.3
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.9.0, 2.9.0.pr1, 2.9.0.pr2, 2.9.0.pr3 (+9 more)2.9.9
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.8.0, 2.8.1, 2.8.10, 2.8.11 (+12 more)2.8.11.4
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.7.0, 2.7.1, 2.7.1-1, 2.7.2 (+12 more)2.7.9.6

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References

Frequently Asked Questions

What is CVE-2019-12086?
Information exposure in FasterXML jackson-databind. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2019-12086?
CVE-2019-12086 affects com.fasterxml.jackson.core:jackson-databind. It has a 21.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-12086 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
21.95%
EPSS percentile: 98.2

This places it in the top 5% of EPSS-scored vulnerabilities — 98.2% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-5ww9-j83m-q7qx

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml