Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.eclipse.jetty/jetty-xml
  4. ›
  5. GHSA-58qw-p7qm-5rvh

GHSA-58qw-p7qm-5rvh: Eclipse Jetty XmlParser allows arbitrary DOCTYPE declarations

July 10, 2023 (updated September 10, 2024)

There are no circumstances in a normally deployed Jetty server where potentially hostile XML is given to the XmlParser class without the attacker already having arbitrary access to the server. I.e. in order to exploit XmlParser the attacker would already have the ability to deploy and execute hostile code. Specifically, Jetty has no protection against malicious web application and potentially hostile web applications should only be run on an isolated virtualisation.

Thus this is not considered a vulnerability of the Jetty server itself, as any such usage of the jetty XmlParser is equally vulnerable as a direct usage of the JVM supplied SAX parser. No CVE will be allocated to this advisory.

However, any direct usage of the XmlParser class by an application may be vulnerable. The impact would greatly depend on how the application uses XmlParser, but it could be a denial of service due to large entity expansion, or possibly the revealing local files if the XML results are accessible remotely.

References

  • github.com/advisories/GHSA-58qw-p7qm-5rvh
  • github.com/eclipse/jetty.project
  • github.com/eclipse/jetty.project/pull/10067
  • github.com/eclipse/jetty.project/releases/tag/jetty-10.0.16
  • github.com/eclipse/jetty.project/releases/tag/jetty-11.0.16
  • github.com/eclipse/jetty.project/releases/tag/jetty-12.0.0
  • github.com/eclipse/jetty.project/releases/tag/jetty-9.4.52.v20230823
  • github.com/eclipse/jetty.project/security/advisories/GHSA-58qw-p7qm-5rvh

Code Behaviors & Features

Detect and mitigate GHSA-58qw-p7qm-5rvh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 12.0.0.alpha0 before 12.0.0, all versions before 9.4.52.v20230823, all versions starting from 10.0.0-alpha0 before 10.0.16, all versions starting from 11.0.0-alpha0 before 11.0.16

Fixed versions

  • 10.0.16
  • 11.0.16
  • 12.0.0
  • 9.4.52.v20230823

Solution

Upgrade to versions 10.0.16, 11.0.16, 12.0.0, 9.4.52.v20230823 or above.

Impact 3.9 LOW

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/org.eclipse.jetty/jetty-xml/GHSA-58qw-p7qm-5rvh.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:09 +0000.