SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2022-42889

Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded.

EXPLOITCRITICAL 9.8EPSS 99.9%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 99.9%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.

Description

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.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
99.93% probability · 100th percentile
Public exploits
1 in Exploit-DB · first 18 April 2025
CISA KEV
Not listed
Weakness
CWE-94
Affected
apache/commons text · netapp/bluexp · juniper/security threat response manager
Source
security@apache.org
EPSS trend
0%50%100%3 November 2026: 99.93%3 November 20263 November 2026

EPSS 99.9% since 3 November 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-52261source ↗Apache Commons Text 1.10.0 - Remote Code Executionmultiple · Arjun Chaudharywebapps18 April 2025no

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.