
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability (CVE-2022-4245) was discovered in codehaus-plexus, specifically in the org.codehaus.plexus.util.xml.XmlWriterUtil#writeComment functionality. The vulnerability was identified when it was found that the component fails to sanitize comments for a --> sequence, potentially allowing XML injection attacks. This vulnerability affects codehaus-plexus versions up to (excluding) 3.0.24 (NVD, CVE).
The vulnerability exists in the XML comment handling functionality of codehaus-plexus. The org.codehaus.plexus.util.xml.XmlWriterUtil#writeComment method fails to properly sanitize comment content containing the --> sequence. This oversight could allow malicious text within the command string to be interpreted as XML, enabling XML injection attacks. The vulnerability has been assigned a CVSS v3.1 base score of 4.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (NVD).
If exploited, this vulnerability could allow attackers to perform XML injection attacks through unsanitized comment content. The primary impact is related to confidentiality, with potential for information disclosure, as indicated by the CVSS metrics showing Low confidentiality impact (NVD).
The vulnerability has been fixed in codehaus-plexus version 3.0.24. Users are advised to upgrade to this version or later to address the security issue. Red Hat has released security updates for affected products through various security advisories including RHSA-2023:2135 and RHSA-2023:3906 (Red Hat Advisory, Red Hat Advisory 2).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."