GitHub Advisoryadvisory · Maven
GHSA-jcwr-x25h-x5fh codehaus-plexus vulnerable to XML injection
MEDIUM
Official page ↗
- Aliases
- CVE-2022-4245
- Ecosystem
- Maven
- Packages
- org.codehaus.plexus:plexus-utils
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-611, CWE-91
- Reviewed
- 2023-09-26
Affected packages
• Maven org.codehaus.plexus:plexus-utils: < 3.0.24 → fixed in 3.0.24
Description
A flaw was found in codehaus-plexus. The `org.codehaus.plexus.util.xml.XmlWriterUtil#writeComment` fails to sanitize comments for a `-->` sequence. This issue means that text contained in the command string could be interpreted as XML and allow for XML injection.
Related
Alias · CVE (1)
- CVE-2022-4245 A flaw was found in codehaus-plexus. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-4245 advisory
- https://github.com/codehaus-plexus/plexus-utils/issues/3 web
- https://github.com/codehaus-plexus/plexus-utils/commit/f933e5e78dc2637e485447ed821fe14904f110de web
- https://access.redhat.com/errata/RHSA-2023:2135 web
- https://access.redhat.com/errata/RHSA-2023:3906 web
- https://access.redhat.com/security/cve/CVE-2022-4245 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2149843 web
- https://github.com/codehaus-plexus/plexus-utils package
- https://security.snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-461102 web