Vulnerability Intelligence

High Confidence Not in CISA KEV CVSS 9.8 · Critical

CVE-2022-42889

Apache Commons Text Remote Code Execution

Apache Commons Text · unspecified to <= 1.9

Exploitation
PoC Available
Confidence
High
Attack Surface
Apache Commons Text
Defender Action
Prioritize Remediation

Exploitation Evidence

Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.

Review Evidence

Decision summary

What security teams need to know first

Direct answers before the deeper technical record.

What it is

CVE-2022-42889 is an unauthenticated vulnerability affecting Apache Commons Text. Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded.

Have exploitation attempts been observed?

Yes. Exploitation attempts have been reported for this vulnerability. Previdian lists it as a known exploited vulnerability. Also reported by third-party sources. Confidence is high.

Who is affected?

Apache Commons Text, including unspecified to <= 1.9 and affected before Apache Commons Text*.

What should we do?

Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.

Overview

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

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.

Apache Software Foundation Affected
Apache Commons Text
Through 1.9 Before Apache Commons Text*
View vendor advisory (opens in new tab)
Published
13 Oct 2022
Exploitation Attempts Reported
20 Oct 2022
Attack vector
Remote
Complexity
Low
Privileges
None
User interaction
None
Severity
CVSS 9.8 · Critical
EPSS
99.9%
First Observed
—
Last Observed
—

CVE References