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

PACKAGE
Advisory Identifier: GHSA-2rwm-xv5j-777p
Advisory Summary

CVE-2023-7272 is a CRITICAL (CVSS 8.6) eclipse parsson stack overflow when vulnerability (CWE-787: Out-of-bounds Write) affecting Parsson libraries in the Maven ecosystem. The issue involves eclipse parsson stack overflow when parsing deeply nested input. Remediation is available by upgrading affected packages to version 1.1.3, 1.0.4.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.eclipse.parsson/parsson

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-2rwm-xv5j-777p CVE-2023-7272 CRITICAL Eclipse Parsson stack overflow when parsing deeply nested input

CVE-2023-7272 at a Glance

CVE Identifier CVE-2023-7272
GHSA Identifier GHSA-2rwm-xv5j-777p
Severity CRITICAL
CVSS v3.1 Base Score 8.6
CWE Classification CWE-787: Out-of-bounds Write
Affected Product Parsson
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.6

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:N/S:C/C:N/I:N/A:H).

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

How to Fix CVE-2023-7272

To remediate this vulnerability, upgrade all affected Parsson 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:parsson fixed: 1.1.3
<dependency>
    <groupId>org.eclipse.parsson</groupId>
    <artifactId>parsson</artifactId>
    <version>1.1.3</version>
</dependency>
org.eclipse.parsson:parsson fixed: 1.0.4
<dependency>
    <groupId>org.eclipse.parsson</groupId>
    <artifactId>parsson</artifactId>
    <version>1.0.4</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-7272, 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 Parsson in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.3), 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-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. In Parsson, 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 1.0.4 and 1.1.3, a document with a large depth of nested objects can allow an attacker to cause a Java stack overflow exception and denial of service. Eclipse Parsson allows processing (e.g. parse, generate, transform and query) JSON documents.

CVE-2023-7272 Affected Parsson Versions

2 component(s)
Fixed Versions:
1.1.31.0.4
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.parsson:parsson
Maven
≥ 1.1.0
< 1.1.3
1.1.3
org.eclipse.parsson:parsson
Maven
< 1.0.4
1.0.4

References

Frequently Asked Questions

What is CVE-2023-7272?
CVE-2023-7272 is a security vulnerability in Parsson involving Eclipse Parsson stack overflow when parsing deeply nested input under CWE-787: Out-of-bounds Write.
Which Parsson versions are affected?
Affected versions include releases prior to 1.1.3, 1.0.4 across affected packages: org.eclipse.parsson:parsson.
What version fixes CVE-2023-7272?
Upgrading to 1.1.3, 1.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is parsson affected?
Yes, org.eclipse.parsson:parsson is affected in releases prior to 1.1.3, 1.0.4. Upgrade your dependency to 1.1.3, 1.0.4 or later.
What is the CVSS score of CVE-2023-7272?
CVE-2023-7272 has a CVSS v3.1 base score of 8.6 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H.
What CWE is associated with CVE-2023-7272?
CVE-2023-7272 is classified under CWE-787: Out-of-bounds Write (The product writes data past the end, or before the beginning, of the intended buffer.).
How can I check Maven dependencies for CVE-2023-7272?
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-2rwm-xv5j-777p",
  "modified" : "2024-11-18T16:26:52Z",
  "published" : "2024-07-17T15:30:50Z",
  "aliases" : [ "CVE-2023-7272" ],
  "summary" : "Eclipse Parsson stack overflow when parsing deeply nested input",
  "details" : "In Eclipse Parsson before 1.0.4 and 1.1.3, a document with a large depth of nested objects can allow an attacker to cause a Java stack overflow exception and denial of service. Eclipse Parsson allows processing (e.g. parse, generate, transform and query) JSON documents.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.parsson:parsson"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.1.0"
      }, {
        "fixed" : "1.1.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.parsson:parsson"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.0.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-7272"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/parsson/issues/91"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/parsson/commit/755d2a86dff74fecc4114fbe7d21e071380c4e45"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-ee4j/parsson/commit/d0ec79badd44a940c82842954430762a2199f4e1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/eclipse-ee4j/parsson"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/12"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-787" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-07-17T19:29:06Z",
    "nvd_published_at" : "2024-07-17T15:15:10Z"
  }
}