CVE-2018-1000873: Jackson datatype jsr310 Jackson-datatype-jsr353 Vulnerability
MODERATECVE-2018-1000873 is a MODERATE (CVSS 6.5) jackson-datatype-jsr353 vulnerability (CWE-20: Improper Input Validation) affecting Jackson datatype jsr310 libraries in the Maven ecosystem. The issue involves jackson-datatype-jsr353. Remediation is available by upgrading affected packages to version 2.9.8.
CVE-2018-1000873 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2018-1000873
To remediate this vulnerability, upgrade all affected Jackson datatype jsr310 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>2.9.8</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.fasterxml.jackson.datatype
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2018-1000873, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.fasterxml.jackson.datatype
Analyze the terminal output to locate any version of Jackson datatype jsr310 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.9.8), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.fasterxml.jackson.datatype command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Jackson datatype jsr310, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-1000873 Affected Jackson datatype jsr310 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.fasterxml.jackson.datatype:jackson-datatype-jsr310
|
Maven |
< 2.9.8
|
2.9.8
|
References
Frequently Asked Questions
What is CVE-2018-1000873?
Which Jackson datatype jsr310 versions are affected?
What version fixes CVE-2018-1000873?
Is jackson-datatype-jsr310 affected?
What is the CVSS score of CVE-2018-1000873?
What CWE is associated with CVE-2018-1000873?
How can I check Maven dependencies for CVE-2018-1000873?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h4x4-5qp2-wp46",
"modified" : "2021-09-13T15:14:09Z",
"published" : "2018-12-21T17:46:54Z",
"aliases" : [ "CVE-2018-1000873" ],
"summary" : "Moderate severity vulnerability that affects com.fasterxml.jackson.datatype:jackson-datatype-jsr353",
"details" : "Fasterxml Jackson version Before 2.9.8 contains a CWE-20: Improper Input Validation vulnerability in Jackson-Databind that can result in Causes a denial-of-service (DoS). This attack appear to be exploitable via The victim deserializes malicious input, specifically very large values in the nanoseconds field of a time value. This vulnerability appears to have been fixed in 2.9.8.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.fasterxml.jackson.datatype:jackson-datatype-jsr310"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.9.8"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000873"
}, {
"type" : "WEB",
"url" : "https://github.com/FasterXML/jackson-modules-java8/issues/90"
}, {
"type" : "WEB",
"url" : "https://github.com/FasterXML/jackson-modules-java8/pull/87"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuoct2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuapr2020.html"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20200904-0004"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-h4x4-5qp2-wp46"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/FasterXML/jackson-modules-java8"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1665601"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:38:51Z",
"nvd_published_at" : "2018-12-20T17:29:00Z"
}
}