Loading...
Skip to main content

CVE-2018-7489

CRITICAL

FasterXML jackson-databind allows unauthenticated remote code execution

Published October 16, 2018Updated March 15, 2024Source: osv

Summary

FasterXML jackson-databind before before 2.6.7.5, 2.7.x before 2.7.9.3, 2.8.x before 2.8.11.1, and 2.9.x before 2.9.5 allows unauthenticated remote code execution because of an incomplete fix for the CVE-2017-7525 deserialization flaw. This is exploitable by sending maliciously crafted JSON input to the readValue method of the ObjectMapper, bypassing a blacklist that is ineffective if the c3p0 libraries are available in the classpath.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.8.11.1 or later
<!-- Update pom.xml dependency version to 2.8.11.1 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.9.5 or later
<!-- Update pom.xml dependency version to 2.9.5 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.7.9.3 or later
<!-- Update pom.xml dependency version to 2.7.9.3 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.6.7.5 or later
<!-- Update pom.xml dependency version to 2.6.7.5 for com.fasterxml.jackson.core:jackson-databind -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

PackageEcosystemAffectedFixed In
com.fasterxml.jackson.core:jackson-databind
maven
2.8.0, 2.8.1, 2.8.10, 2.8.11 (+9 more)2.8.11.1
com.fasterxml.jackson.core:jackson-databind
maven
2.9.0, 2.9.0.pr1, 2.9.0.pr2, 2.9.0.pr3 (+5 more)2.9.5
com.fasterxml.jackson.core:jackson-databind
maven
2.7.0, 2.7.1, 2.7.1-1, 2.7.2 (+9 more)2.7.9.3
com.fasterxml.jackson.core:jackson-databind
maven
2.0.0, 2.0.0-RC1, 2.0.0-RC2, 2.0.0-RC3 (+62 more)2.6.7.5

Vulnerability Classification

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

CVSS Score Breakdown

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

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

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

References

Frequently Asked Questions

What is CVE-2018-7489?
FasterXML jackson-databind allows unauthenticated remote code execution This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2018-7489?
CVE-2018-7489 affects com.fasterxml.jackson.core:jackson-databind. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-7489 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-cggj-fvv3-cqwv

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies