GHSA-gc59-r5jq-98qw: Duplicate Advisory Eclipse Jetty: Early Return From Vulnerability

HIGH
CVSS 7.4
CWE-226
Published
Advisory Summary

GHSA-gc59-r5jq-98qw is a HIGH (CVSS 7.4) eclipse jetty: early return from vulnerability (CWE-226: Sensitive Information in Resource Not Removed Before Reuse) affecting Duplicate Advisory libraries in the Maven ecosystem. The issue involves eclipse jetty: early return from the jaspiauthenticator code can potentially no clear threadlocal variables. Remediation is available by upgrading affected packages to version 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60.

GHSA-gc59-r5jq-98qw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-gc59-r5jq-98qw
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-226: Sensitive Information in Resource Not Removed Before Reuse
Affected Product Duplicate Advisory
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.4

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

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 High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix GHSA-gc59-r5jq-98qw

To remediate this vulnerability, upgrade all affected Duplicate Advisory 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.jetty.ee10:jetty-ee10 fixed: 12.1.7
<dependency>
    <groupId>org.eclipse.jetty.ee10</groupId>
    <artifactId>jetty-ee10</artifactId>
    <version>12.1.7</version>
</dependency>
org.eclipse.jetty.ee10:jetty-ee10 fixed: 12.0.33
<dependency>
    <groupId>org.eclipse.jetty.ee10</groupId>
    <artifactId>jetty-ee10</artifactId>
    <version>12.0.33</version>
</dependency>
org.eclipse.jetty.ee10:jetty-ee10 fixed: 11.0.28
<dependency>
    <groupId>org.eclipse.jetty.ee10</groupId>
    <artifactId>jetty-ee10</artifactId>
    <version>11.0.28</version>
</dependency>
org.eclipse.jetty.ee10:jetty-ee10 fixed: 10.0.28
<dependency>
    <groupId>org.eclipse.jetty.ee10</groupId>
    <artifactId>jetty-ee10</artifactId>
    <version>10.0.28</version>
</dependency>
org.eclipse.jetty.ee10:jetty-ee10 fixed: 9.4.60
<dependency>
    <groupId>org.eclipse.jetty.ee10</groupId>
    <artifactId>jetty-ee10</artifactId>
    <version>9.4.60</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.jetty.ee10

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-gc59-r5jq-98qw, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.eclipse.jetty.ee10

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

Note: The mvn dependency:tree -Dincludes=org.eclipse.jetty.ee10 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-226: Sensitive Information in Resource Not Removed Before Reuse, where the product releases a resource such as memory or a file so that it can be made available for reuse, but it does not clear or "zeroize" the information contained in the resource before the product performs a critical state transition or makes the resource available for reuse by other entities. In Duplicate Advisory, 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

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-r7p8-xq5m-436c. This link is maintained to preserve external references. ## Original Description In Eclipse Jetty, the class JASPIAuthenticator initiates the authentication checks, which set two ThreadLocal variable. Upon returning from the initial checks, there are conditions that cause an early return from the JASPIAuthenticator code without clearing those ThreadLocals. A subsequent request using the same thread inherits the ThreadLocal values, leading to a broken access control and privilege escalation.

GHSA-gc59-r5jq-98qw Affected Duplicate Advisory Versions

5 component(s)
Fixed Versions:
12.1.712.0.3311.0.2810.0.289.4.60
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.jetty.ee10:jetty-ee10
Maven
≥ 12.1.0
< 12.1.7
12.1.7
org.eclipse.jetty.ee10:jetty-ee10
Maven
≥ 12.0.0
< 12.0.33
12.0.33
org.eclipse.jetty.ee10:jetty-ee10
Maven
≥ 11.0.0
< 11.0.28
11.0.28
org.eclipse.jetty.ee10:jetty-ee10
Maven
≥ 10.0.0
< 10.0.28
10.0.28
org.eclipse.jetty.ee10:jetty-ee10
Maven
≥ 9.4.0
< 9.4.60
9.4.60

References

Frequently Asked Questions

What is GHSA-gc59-r5jq-98qw?
GHSA-gc59-r5jq-98qw is a security vulnerability in Duplicate Advisory involving Eclipse Jetty: Early return from the JASPIAuthenticator code can potentially no clear ThreadLocal variables under CWE-226: Sensitive Information in Resource Not Removed Before Reuse.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60 across affected packages: org.eclipse.jetty.ee10:jetty-ee10.
What version fixes GHSA-gc59-r5jq-98qw?
Upgrading to 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jetty-ee10 affected?
Yes, org.eclipse.jetty.ee10:jetty-ee10 is affected in releases prior to 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60. Upgrade your dependency to 12.1.7, 12.0.33, 11.0.28, 10.0.28, 9.4.60 or later.
What is the CVSS score of GHSA-gc59-r5jq-98qw?
GHSA-gc59-r5jq-98qw has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with GHSA-gc59-r5jq-98qw?
GHSA-gc59-r5jq-98qw is classified under CWE-226: Sensitive Information in Resource Not Removed Before Reuse (The product releases a resource such as memory or a file so that it can be made available for reuse, but it does not clear or "zeroize" the information contained in the resource before the product performs a critical state transition or makes the resource available for reuse by other entities.).
How can I check Maven dependencies for GHSA-gc59-r5jq-98qw?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.eclipse.jetty.ee10'. 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-gc59-r5jq-98qw",
  "modified" : "2026-04-14T00:06:18Z",
  "published" : "2026-04-08T15:31:44Z",
  "withdrawn" : "2026-04-14T00:06:18Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Eclipse Jetty: Early return from the JASPIAuthenticator code can potentially no clear ThreadLocal variables",
  "details" : "## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-r7p8-xq5m-436c. This link is maintained to preserve external references.\n\n## Original Description\nIn Eclipse Jetty, the class JASPIAuthenticator initiates the authentication checks, which set two ThreadLocal variable.\n\n\nUpon returning from the initial checks, there are conditions that cause an early return from the JASPIAuthenticator code without clearing those ThreadLocals.\n\n\nA subsequent request using the same thread inherits the ThreadLocal values, leading to a broken access control and privilege escalation.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty.ee10:jetty-ee10"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.1.0"
      }, {
        "fixed" : "12.1.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty.ee10:jetty-ee10"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.0.0"
      }, {
        "fixed" : "12.0.33"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty.ee10:jetty-ee10"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "11.0.28"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty.ee10:jetty-ee10"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.0.0"
      }, {
        "fixed" : "10.0.28"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty.ee10:jetty-ee10"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.4.0"
      }, {
        "fixed" : "9.4.60"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/security/advisories/GHSA-r7p8-xq5m-436c"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-5795"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jetty/jetty.project"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/cve-assignment/-/issues/92"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-226" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-08T19:24:59Z",
    "nvd_published_at" : "2026-04-08T14:16:32Z"
  }
}