DirectorySecurity Advisories
Sign In
Security Advisories

CGA-cvc4-35r3-qcp6

Published

Last updated

https://images.chainguard.dev/security/CGA-cvc4-35r3-qcp6
Package

jenkins

Latest Update
Not affected
Aliases
  • GHSA-58qw-p7qm-5rvh

Severity

3.9

Low

CVSS V3

Summary

Eclipse Jetty XmlParser allows arbitrary DOCTYPE declarations

Description

From the reporter

Impact

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.

Patches

Ability to configure the SAXParserFactory to fit the needs of your particular XML parser implementation have been merged as part of PR #10067

Workarounds

Don't use XmlParser to parse data from users.

References

Updates


Safe Source for Open Sourceâ„¢
Media KitContact Us
© 2024 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Product

Chainguard Images