CVE-2022-4245
Codehaus-plexus: xml external entity (xxe) injection
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
4.3
Codehaus-plexus: xml external entity (xxe) injection
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.
- Record
CVE-2022-4245- 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 - Weakness
- CWE-91
- Updated
- 2026-11-02
EUVDEUVD-2023-2535
4.3
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.
- Record
EUVD-2023-2535- 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 - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jcwr-x25h-x5fh
4.3
codehaus-plexus vulnerable to XML injection
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.
- Record
GHSA-jcwr-x25h-x5fh- 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 - Weakness
- CWE-91, CWE-611
- Updated
- 2026-11-02
NVD
4.3
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.
- Record
CVE-2022-4245- 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 - Weakness
- CWE-91, CWE-611
- Updated
- 2026-11-02
OSV
4.3
Codehaus-plexus: xml external entity (xxe) injection
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.
- Record
CVE-2022-4245- 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 - Weakness
- CWE-91
- Updated
- 2026-11-02
OSVGHSA-jcwr-x25h-x5fh
4.3
codehaus-plexus vulnerable to XML injection
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.
- Record
GHSA-jcwr-x25h-x5fh- 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 - Weakness
- CWE-611, CWE-91
- Updated
- 2026-11-02
Show 17 moreShow less
OSVUBUNTU-CVE-2022-4245
4.3
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.
- Record
UBUNTU-CVE-2022-4245- 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 - Updated
- 2026-11-02
OSVCLSA-2024-1733961633 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (3 CVEs)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 3 CVEs. Fixed in 1.5.8.tuxcare.
- Record
CLSA-2024-1733961633- Updated
- 2026-11-02
OSVCLSA-2026-1791931359 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (3 CVEs)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 3 CVEs. Fixed in 3.0.22-tuxcare.1.
- Record
CLSA-2026-1791931359- Updated
- 2026-11-02
OSVCLSA-2026-1791960018 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (2 CVEs)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 2 CVEs. Fixed in 1.5.5-tuxcare.1.
- Record
CLSA-2026-1791960018- Updated
- 2026-11-02
OSVCLSA-2026-1791965617 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 3.0.18-tuxcare.2.
- Record
CLSA-2026-1791965617- Updated
- 2026-11-02
OSVCLSA-2026-1791965620 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 3.0.15-tuxcare.2.
- Record
CLSA-2026-1791965620- Updated
- 2026-11-02
OSVCLSA-2026-1791965626 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 3.0.17-tuxcare.2.
- Record
CLSA-2026-1791965626- Updated
- 2026-11-02
OSVCLSA-2026-1791965636 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 2.0.4-tuxcare.2.
- Record
CLSA-2026-1791965636- Updated
- 2026-11-02
OSVCLSA-2026-1791965637 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 1.5.6-tuxcare.2.
- Record
CLSA-2026-1791965637- Updated
- 2026-11-02
OSVCLSA-2026-1793127450 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (2 CVEs)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 2 CVEs. Fixed in 3.0.8-tuxcare.1.
- Record
CLSA-2026-1793127450- Updated
- 2026-11-02
OSVCLSA-2026-1793136969 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 2.0.5-tuxcare.2.
- Record
CLSA-2026-1793136969- Updated
- 2026-11-02
OSVCLSA-2026-1793136993 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 2.0.6-tuxcare.2.
- Record
CLSA-2026-1793136993- Updated
- 2026-11-02
OSVCLSA-2026-1793137156 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 3.0.1-tuxcare.2.
- Record
CLSA-2026-1793137156- Updated
- 2026-11-02
OSVCLSA-2026-1793137245 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 3.0.20-tuxcare.2.
- Record
CLSA-2026-1793137245- Updated
- 2026-11-02
OSVCLSA-2026-1793729709 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 1.5.15-tuxcare.2.
- Record
CLSA-2026-1793729709- Updated
- 2026-11-04
OSVCLSA-2026-1793827583 No score
TuxCare security update for org.codehaus.plexus:plexus-utils (1 CVE)
TuxCare rebuilt org.codehaus.plexus:plexus-utils to address 1 CVE. Fixed in 2.1-tuxcare.2.
- Record
CLSA-2026-1793827583- Updated
- 2026-11-05
OSVDEBIAN-CVE-2022-4245 No score
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.
- Record
DEBIAN-CVE-2022-4245- Updated
- 2026-11-03
Affected products
- codehaus-plexus plexus-utils
- red hat a-mq clients 2
- red hat a-mq online
- red hat build of apache camel for spring boot
- red hat build of quarkus
- red hat data grid 8
- red hat decision manager 7
- red hat enterprise linux 7
- red hat enterprise linux 8
- red hat enterprise linux 9
- red hat integration camel quarkus
- red hat integration change data capture
Show 19 moreShow less
- red hat integration service registry
- red hat jboss a-mq 7
- red hat jboss data grid 7
- red hat jboss enterprise application platform 6
- red hat jboss enterprise application platform 7
- red hat jboss enterprise application platform expansion pack
- red hat jboss fuse 6
- red hat jboss fuse 7
- red hat jboss fuse service works 6
- red hat jboss web server 3
- red hat jboss web server 5
- red hat openshift application runtimes
- red hat process automation 7
- red hat single sign-on 7
- red hat software collections
- red hat support for spring boot
- red hat rhint camel-k-1.10.1
- red hat rhpam 7.13.1 async
- redhat integration camel k
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.codehaus.plexus:plexus-utilsMaven |
before 3.0.24 | 3.0.24 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven From an advisory covering 3 CVEs |
1.5.8 up to 1.5.8.tuxcare | 1.5.8.tuxcare |
org.codehaus.plexus:plexus-utilsTuxCare:Maven From an advisory covering 3 CVEs |
3.0.22 up to 3.0.22-tuxcare.1 | 3.0.22-tuxcare.1 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven From an advisory covering 2 CVEs |
1.5.5 up to 1.5.5-tuxcare.1 | 1.5.5-tuxcare.1 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
3.0.18 up to 3.0.18-tuxcare.2, plus listed versions 3.0.18-tuxcare.1 |
3.0.18-tuxcare.2 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
3.0.15 up to 3.0.15-tuxcare.2, plus listed versions 3.0.15-tuxcare.1 |
3.0.15-tuxcare.2 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
3.0.17 up to 3.0.17-tuxcare.2, plus listed versions 3.0.17-tuxcare.1 |
3.0.17-tuxcare.2 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
2.0.4 up to 2.0.4-tuxcare.2, plus listed versions 2.0.4-tuxcare.1 |
2.0.4-tuxcare.2 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
1.5.6 up to 1.5.6-tuxcare.2, plus listed versions 1.5.6-tuxcare.1 |
1.5.6-tuxcare.2 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven From an advisory covering 2 CVEs |
3.0.8 up to 3.0.8-tuxcare.1 | 3.0.8-tuxcare.1 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
2.0.5 up to 2.0.5-tuxcare.2, plus listed versions 2.0.5-tuxcare.1 |
2.0.5-tuxcare.2 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
2.0.6 up to 2.0.6-tuxcare.2, plus listed versions 2.0.6-tuxcare.1 |
2.0.6-tuxcare.2 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
3.0.1 up to 3.0.1-tuxcare.2, plus listed versions 3.0.1-tuxcare.1 |
3.0.1-tuxcare.2 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
3.0.20 up to 3.0.20-tuxcare.2, plus listed versions 3.0.20-tuxcare.1 |
3.0.20-tuxcare.2 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
1.5.15 up to 1.5.15-tuxcare.2, plus listed versions 1.5.15-tuxcare.1 |
1.5.15-tuxcare.2 |
org.codehaus.plexus:plexus-utilsTuxCare:Maven |
2.1 up to 2.1-tuxcare.2, plus listed versions 2.1-tuxcare.1 |
2.1-tuxcare.2 |
plexus-utils2Debian:12 |
before 3.0.24-1 | 3.0.24-1 |
plexus-utils2Debian:13 |
before 3.0.24-1 | 3.0.24-1 |
plexus-utils2Debian:14 |
before 3.0.24-1 | 3.0.24-1 |
org.codehaus.plexus:plexus-utilsMaven |
before 3.0.24, plus listed versions 1.0.41.0.51.11.21.3 Show 45 moreShow less1.41.4-alpha-11.4.11.4.21.4.31.4.41.4.51.4.61.4.71.4.81.4.91.51.5.11.5.101.5.111.5.121.5.131.5.141.5.151.5.21.5.31.5.41.5.51.5.61.5.71.5.81.5.92.0.02.0.12.0.22.0.32.0.42.0.52.0.62.0.72.13.03.0.13.0.103.0.113.0.123.0.133.0.143.0.153.0.16 |
3.0.24 |
plexus-utils2Ubuntu:14.04:LTS |
All versions, plus listed versions 2.0.5-12.0.5-1+deb7u1build0.14.04.1 |
None known |
plexus-utils2Ubuntu:16.04:LTS |
All versions, plus listed versions 3.0.15-13.0.22-1 |
None known |
plexus-utils2Ubuntu:18.04:LTS |
All versions, plus listed versions 3.0.24-3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| affected, aliases | OSV | |
| affected, aliases, facts | OSV | |
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-4245 is a medium vulnerability (CVSS 4.3) in Codehaus-plexus Plexus-utils, published September 25, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.69%, the 53rd percentile. Fixed in org.codehaus.plexus:plexus-utils 3.0.24.
References
access.redhat.com/errata/RHSA-2023:2135
access.redhat.com/errata/RHSA-2023:3906
access.redhat.com/security/cve/CVE-2022-4245
bugzilla.redhat.com/show_bug.cgi?id=2149843
nvd.nist.gov/vuln/detail/CVE-2022-4245
github.com/codehaus-plexus/plexus-utils/issues/3
Show 10 moreShow less
github.com/codehaus-plexus/plexus-utils/commit/f933e5e78dc2637e485447ed821fe14904f110de
security.snyk.io/vuln/SNYK-JAVA-ORGCODEHAUSPLEXUS-461102
github.com/advisories/GHSA-jcwr-x25h-x5fh
access.redhat.com/downloads/content/package-browser
access.redhat.com/jbossnetwork/restricted/listSoftware.html
github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4245.json
security-tracker.debian.org/tracker/CVE-2022-4245
github.com/codehaus-plexus/plexus-utils
ubuntu.com/security/CVE-2022-4245
cve.org/CVERecord?id=CVE-2022-4245
Left out here: 15 versions. The JSON record has them.