WaratekVRT Sign in

CVE-2022-4245

Affected software2 products, listed below
Severity4.3 Medium CVSS 3.1 2 scores
Fixed in3.0.24
WeaknessXML injection (CWE-91)
Published25 Sep 2023
Updated17 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.

  • 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

Protected by Waratek

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.

Waratek RASP Runtime protection for Java applications

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

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.

VersionScoreBandVectorAssignerType
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
PackageIntroducedFixedLast affected
org.codehaus.plexus:plexus-utils 0 3.0.24 unbounded

Products and versions

3 products, 3 version entries
SourceVendorProductSchemeAffected 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

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=2149843 bugzilla
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://github.com/codehaus-plexus/plexus-utils PACKAGE
https://security.snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-461102 WEB

Timeline

Published2023-09-25By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.