Vulnerabilities in pkg:maven/com.fasterxml.jackson.datatype/jackson-datatype-jsr310

PACKAGE
Advisory Identifier: GHSA-h4x4-5qp2-wp46
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/com.fasterxml.jackson.datatype/jackson-datatype-jsr310

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/com.fasterxml.jackson.datatype/jackson-datatype-jsr310. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-h4x4-5qp2-wp46 CVE-2018-1000873 MODERATE Moderate severity vulnerability that affects com.fasterxml.jackson.datatype:jackson-datatype-jsr353

CVE-2018-1000873 at a Glance

CVE Identifier CVE-2018-1000873
GHSA Identifier GHSA-h4x4-5qp2-wp46
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-20: Improper Input Validation
Affected Product Jackson datatype jsr310
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (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.

com.fasterxml.jackson.datatype:jackson-datatype-jsr310 fixed: 2.9.8
<dependency>
    <groupId>com.fasterxml.jackson.datatype</groupId>
    <artifactId>jackson-datatype-jsr310</artifactId>
    <version>2.9.8</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2018-1000873 Affected Jackson datatype jsr310 Versions

1 component(s)
Fixed Versions:
2.9.8
Product / Package Ecosystem Affected Versions Fixed Version
com.fasterxml.jackson.datatype:jackson-datatype-jsr310
Maven
< 2.9.8
2.9.8

References

NVD — CVE-2018-1000873 NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-1000873
Jackson datatype jsr310 Source Repository REPOSITORY
https://github.com/FasterXML/jackson-modules-java8/issues/90
Jackson datatype jsr310 Source Repository REPOSITORY
https://github.com/FasterXML/jackson-modules-java8/pull/87
Jackson datatype jsr310 Security Information SECURITY
https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
Jackson datatype jsr310 Security Information SECURITY
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
Jackson datatype jsr310 Security Information SECURITY
https://www.oracle.com/security-alerts/cpuoct2020.html
Jackson datatype jsr310 Security Information SECURITY
https://www.oracle.com/security-alerts/cpuapr2020.html
Jackson datatype jsr310 Security Information SECURITY
https://security.netapp.com/advisory/ntap-20200904-0004
lists.apache.org/thread.html/rca3793... WEB
https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E
lists.apache.org/thread.html/ff8dcfe... WEB
https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E
lists.apache.org/thread.html/f9bc3e5... WEB
https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E
lists.apache.org/thread.html/bcce5a9... WEB
https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3E
lists.apache.org/thread.html/b0656d3... WEB
https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E
lists.apache.org/thread.html/519eb0f... WEB
https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E
GitHub Advisory / Wiki ADVISORY
https://github.com/advisories/GHSA-h4x4-5qp2-wp46
Jackson datatype jsr310 Source Repository REPOSITORY
https://github.com/FasterXML/jackson-modules-java8
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=1665601

Frequently Asked Questions

What is CVE-2018-1000873?
CVE-2018-1000873 is a security vulnerability in Jackson datatype jsr310 involving jackson-datatype-jsr353 under CWE-20: Improper Input Validation.
Which Jackson datatype jsr310 versions are affected?
Affected versions include releases prior to 2.9.8 across affected packages: com.fasterxml.jackson.datatype:jackson-datatype-jsr310.
What version fixes CVE-2018-1000873?
Upgrading to 2.9.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jackson-datatype-jsr310 affected?
Yes, com.fasterxml.jackson.datatype:jackson-datatype-jsr310 is affected in releases prior to 2.9.8. Upgrade your dependency to 2.9.8 or later.
What is the CVSS score of CVE-2018-1000873?
CVE-2018-1000873 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2018-1000873?
CVE-2018-1000873 is classified under CWE-20: Improper Input Validation (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.).
How can I check Maven dependencies for CVE-2018-1000873?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.fasterxml.jackson.datatype'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}