CVE-2022-42889Apache Commons Text
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Commons Text We alert you by email or Slack (account required).
- Priority
- 83
- CVSS 3.1
- 9.8
- EPSS
- 95.2% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Oct 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Commons Text.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.guicedee.services:commons-text |
≤ 1.2.2.1-jre17 |
no fixed version | — |
| Maven | org.apache.commons:commons-text |
≥ 1.5 < 1.10.0 |
1.10.0 |
— |
Per OSV / GitHub Advisories (GHSA-599f-7c49-w659). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | commons_text | ≥ 1.5 < 1.10.0 |
| netapp | bluexp | all |
| juniper | security_threat_response_manager | < 7.5.0 |
| juniper | security_threat_response_manager | 7.5.0 |
| juniper | security_threat_response_manager | 7.5.0 |
| juniper | security_threat_response_manager | 7.5.0 |
| juniper | security_threat_response_manager | 7.5.0 |
Official advisories
- Red Hat Security Advisory: Red Hat Product OCP Tools 4.13 OpenShift Jenkins security update · Red Hat · RHSA-2023:6179 · Apr 4, 2026 Critical
- Red Hat Security Advisory: jenkins and jenkins-2-plugins security update · Red Hat · RHSA-2024:0777 · Oct 2, 2024 High
- Red Hat Security Advisory: Red Hat Product OCP Tools 4.12 Openshift Jenkins security update · Red Hat · RHSA-2023:6172 · Oct 2, 2024 Critical
Also: Red Hat (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Third Party Advisory VDB Entry
- packetstormsecurity.com
- seclists.org Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- lists.apache.org Mailing List Vendor Advisory
- psirt.global.sonicwall.com Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory