CVE-2022-42889
high
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
9.0
Description
Arbitrary code execution in Apache Commons Text
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Metasploit modules
Source code queued for fetch โ refresh in a moment.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1.10.0-1 |
| debian | bullseye | affected | |
| debian | forky | fixed | 1.10.0-1 |
| debian | sid | fixed | 1.10.0-1 |
| debian | trixie | fixed | 1.10.0-1 |
| rocky | 8 | fixed | |
| sles | affected | |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Maven | org.apache.commons:commons-text | >=1.5,<1.10.0 | 1.10.0 |
| Maven | com.guicedee.services:commons-text | <=1.2.2.1-jre17 | |
References
- https://security-tracker.debian.org/tracker/CVE-2022-42889
- https://errata.rockylinux.org/RLSA-2023:2097
- https://www.suse.com/security/cve/CVE-2022-42889.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-42889
- https://arxiv.org/pdf/2306.05534
- https://github.com/apache/commons-text
- https://lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0022
- https://security.gentoo.org/glsa/202301-05
- https://security.netapp.com/advisory/ntap-20221020-0004
- https://securitylab.github.com/advisories/GHSL-2022-018_Apache_Commons_Text
- http://packetstormsecurity.com/files/171003/OX-App-Suite-Cross-Site-Scripting-Server-Side-Request-Forgery.html
- http://packetstormsecurity.com/files/176650/Apache-Commons-Text-1.9-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2023/Feb/3
- http://www.openwall.com/lists/oss-security/2022/10/13/4
- http://www.openwall.com/lists/oss-security/2022/10/18/1
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.