GHSA-599f-7c49-w659 · Severity: critical · Ecosystem: maven — Arbitrary code execution in Apache Commons Text
Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is "${prefix:name}", where "prefix" is used to locate an instance of org.apache.commons.text.lookup.StringLookup that performs the interpolation. Starting with version 1.5 and continuing through 1.9, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - "script" - execute expressions using the JVM script execution engine (javax.script) - "dns" - resolve dns records - "url" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Text 1.10.0, which disables the problematic interpolators by default.
Conclusion & alert: CVE-2022-42889 is rated High Exploit Risk (89.3/100): CVSS Critical severity, with high exploitation likelihood (EPSS 94.25%, 100th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| 52261 | exploit_db | edb | 2025-04-18 | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-03-04 | 94.08% | 94.25% | +0.17% |
| 2 | 2026-02-26 | 94.25% | 94.08% | -0.17% |
| 3 | 2026-01-18 | — | 94.25% | — |
Full EPSS history (37 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-599f-7c49-w659 · Severity: critical · Ecosystem: maven — Arbitrary code execution in Apache Commons Text
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-42889 not yet assigned priority: Debian including 1 source packages (commons-text), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2022-42889 |
gentoo
|
high | CVE-2022-42889: 1 GLSA(s) (202301-05), 1 atom(s) (dev-java/commons-text); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-42889 |
redhat
|
critical | — | https://access.redhat.com/security/cve/CVE-2022-42889 |
suse
|
critical | — | https://www.suse.com/security/cve/CVE-2022-42889/ |
ubuntu
|
medium | CVE-2022-42889 medium priority: Ubuntu including 1 source packages (commons-text), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 6, not-affected 3, needed 2, DNE 1, released 1. | https://ubuntu.com/security/CVE-2022-42889 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| apache | commons_text | >= 1.5, < 1.10.0 | cpe:2.3:a:apache:commons_text:*:*:*:*:*:*:*:* |
| netapp | bluexp | — | cpe:2.3:a:netapp:bluexp:-:*:*:*:*:*:*:* |
| juniper | security_threat_response_manager | < 7.5.0 | cpe:2.3:a:juniper:security_threat_response_manager:*:*:*:*:*:*:*:* |
| juniper | security_threat_response_manager | 7.5.0 | cpe:2.3:a:juniper:security_threat_response_manager:7.5.0:-:*:*:*:*:*:* |
| juniper | security_threat_response_manager | 7.5.0 | cpe:2.3:a:juniper:security_threat_response_manager:7.5.0:up1:*:*:*:*:*:* |
| juniper | security_threat_response_manager | 7.5.0 | cpe:2.3:a:juniper:security_threat_response_manager:7.5.0:up2:*:*:*:*:*:* |
| juniper | security_threat_response_manager | 7.5.0 | cpe:2.3:a:juniper:security_threat_response_manager:7.5.0:up3:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| http://packetstormsecurity.com/files/171003/OX-App-Suite-Cross-Site-Scripting-Server-Side-Request-Forgery.html | Third Party Advisory VDB Entry |
| http://packetstormsecurity.com/files/176650/Apache-Commons-Text-1.9-Remote-Code-Execution.html | |
| http://seclists.org/fulldisclosure/2023/Feb/3 | Mailing List Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/10/13/4 | Mailing List Third Party Advisory |
| http://www.openwall.com/lists/oss-security/2022/10/18/1 | Mailing List Third Party Advisory |
| https://lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om | Mailing List Vendor Advisory |
| https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0022 | Third Party Advisory |
| https://security.gentoo.org/glsa/202301-05 | Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20221020-0004/ | Third Party Advisory |