CVE-2022-4245
| Affected software | 2 products, listed below |
|---|---|
| Severity | 4.3 Medium CVSS 3.1 2 scores |
| Fixed in | 3.0.24 |
| Weakness | XML injection (CWE-91) |
| Published | 25 Sep 2023 |
| Updated | 17 Jun 2026 |
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.
CWE-611 · XML external entity (XXE)
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 3 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 0.69% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full XXE
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-91: XML Injection. |
| Candidate fix | https://bugzilla.redhat.com/show_bug.cgi?id=2149843 : a Red Hat bug: the triage, which links onward to the fix |
How to mitigate CVE-2022-4245
Upgrade the affected software to 3.0.24 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.
CVSS
4.3 MEDIUM
v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
2 metrics
CVSS
4.3 MEDIUM v3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
secalert@redhat.com | Secondary | published |
| CVSS 3.1 | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.codehaus.plexus:plexus-utils |
0 | 3.0.24 |
unbounded |
Products and versions
3 products, 3 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | codehaus-plexus | plexus-utils | generic | < 3.0.24 |
| osv | org.codehaus.plexus | plexus-utils | generic | < 3.0.24 |
| nvd | redhat | integration camel k | generic | < 1.10.1 |
References
Timeline
Timeline
| Published | 2023-09-25 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |