Vulnerabilities in pkg:maven/org.eclipse.parsson/project

PACKAGE
Advisory Identifier: GHSA-g8p6-p27c-52fx
Advisory Summary

CVE-2023-4043 is a MODERATE (CVSS 5.9) denial of service vulnerability (CWE-834: Excessive Iteration) affecting Project libraries in the Maven ecosystem. The issue involves eclipse parsson denial of service vulnerability. Remediation is available by upgrading affected packages to version 1.1.4, 1.0.5.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.eclipse.parsson/project

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.eclipse.parsson/project. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-g8p6-p27c-52fx CVE-2023-4043 MODERATE Eclipse Parsson Denial of Service vulnerability

CVE-2023-4043 at a Glance

CVE Identifier CVE-2023-4043
GHSA Identifier GHSA-g8p6-p27c-52fx
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-834: Excessive Iteration
Affected Product Project
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2023-4043

To remediate this vulnerability, upgrade all affected Project dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.eclipse.parsson:project fixed: 1.1.4
<dependency>
    <groupId>org.eclipse.parsson</groupId>
    <artifactId>project</artifactId>
    <version>1.1.4</version>
</dependency>
org.eclipse.parsson:project fixed: 1.0.5
<dependency>
    <groupId>org.eclipse.parsson</groupId>
    <artifactId>project</artifactId>
    <version>1.0.5</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=org.eclipse.parsson

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2023-4043, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.eclipse.parsson

Analyze the terminal output to locate any version of Project in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.4), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.eclipse.parsson 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-834: Excessive Iteration, where the product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed. In Project, 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

In Eclipse Parsson before versions 1.1.4 and 1.0.5, Parsing JSON from untrusted sources can lead malicious actors to exploit the fact that the built-in support for parsing numbers with large scale in Java has a number of edge cases where the input text of a number can lead to much larger processing time than one would expect. To mitigate the risk, parsson put in place a size limit for the numbers as well as their scale.

CVE-2023-4043 Affected Project Versions

2 component(s)
Fixed Versions:
1.1.41.0.5
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.parsson:project
Maven
≥ 1.1.0
< 1.1.4
1.1.4
org.eclipse.parsson:project
Maven
< 1.0.5
1.0.5

References

Frequently Asked Questions

What is CVE-2023-4043?
CVE-2023-4043 is a security vulnerability in Project involving Eclipse Parsson Denial of Service vulnerability under CWE-834: Excessive Iteration.
Which Project versions are affected?
Affected versions include releases prior to 1.1.4, 1.0.5 across affected packages: org.eclipse.parsson:project.
What version fixes CVE-2023-4043?
Upgrading to 1.1.4, 1.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is project affected?
Yes, org.eclipse.parsson:project is affected in releases prior to 1.1.4, 1.0.5. Upgrade your dependency to 1.1.4, 1.0.5 or later.
What is the CVSS score of CVE-2023-4043?
CVE-2023-4043 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2023-4043?
CVE-2023-4043 is classified under CWE-834: Excessive Iteration (The product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed.).
How can I check Maven dependencies for CVE-2023-4043?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.eclipse.parsson'. 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-g8p6-p27c-52fx",
  "modified" : "2023-11-03T19:47:25Z",
  "published" : "2023-11-03T09:32:49Z",
  "aliases" : [ "CVE-2023-4043" ],
  "summary" : "Eclipse Parsson Denial of Service vulnerability",
  "details" : "In Eclipse Parsson before versions 1.1.4 and 1.0.5, Parsing JSON from untrusted sources can lead malicious actors to exploit the fact that the built-in support for parsing numbers with large scale in Java has a number of edge cases where the input text of a number can lead to much larger processing time than one would expect.\n\n\nTo mitigate the risk, parsson put in place a size limit for the numbers as well as their scale.\n\n\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.parsson:project"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.1.0"
      }, {
        "fixed" : "1.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.parsson:project"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-4043"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/parsson/pull/100"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/13"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-834" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-11-03T19:47:25Z",
    "nvd_published_at" : "2023-11-03T09:15:13Z"
  }
}