peter bassill · operator
$ cve CVE-2022-42889 JSON

CVE-2022-42889 EXPLOIT

9.8
CRITICAL · CVSS 3.1 · EPSS 99.9% (pctl 100)

Patch early

A public exploit exists.

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.

Scoring

CVSS9.8 (CRITICAL, v3.1)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS99.93% — more likely to be exploited than 100% of all CVEs
WeaknessCWE-94
On CISA KEVno
Public exploityes
Published2022-10-13
Last modified2026-06-17

Affected (10)

VendorProduct
apachecommons text
juniperjsa1500
juniperjsa3500
juniperjsa3800
juniperjsa5500
juniperjsa5800
juniperjsa7500
juniperjsa7800
junipersecurity threat response manager
netappbluexp

Public exploits

SourceTitleDate
exploit-dbApache Commons Text 1.10.0 - Remote Code Execution2025-04-18

References

→ the Explorer  ·  watch your stack  ·  NVD