Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-42889

published

Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults

Published
13 Oct 2022, 00:00:00 UTC
Updated
20 Nov 2024, 16:19:41 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Apache Software Foundation — Apache Commons Textunspecified through 1.9 · 1.5 to < Apache Commons Text* Affected Not stated apache
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-textaarch64 Advisory build 1.10.0-1.1 OPENSUSE-SU-2024:12409-1
Rocky Linux 8 libdb-cxxx86_64 Listed in advisory Not stated RLSA-2023:2097
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-textppc64le Advisory build 1.10.0-1.1 OPENSUSE-SU-2024:12409-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-texts390x Advisory build 1.10.0-1.1 OPENSUSE-SU-2024:12409-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-textx86_64 Advisory build 1.10.0-1.1 OPENSUSE-SU-2024:12409-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-text-javadocaarch64 Advisory build 1.10.0-1.1 OPENSUSE-SU-2024:12409-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-text-javadocppc64le Advisory build 1.10.0-1.1 OPENSUSE-SU-2024:12409-1
Show 8 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-text-javadocs390x Advisory build 1.10.0-1.1 OPENSUSE-SU-2024:12409-1
SUSE / openSUSE openSUSE-Tumbleweed apache-commons-text-javadocx86_64 Advisory build 1.10.0-1.1 OPENSUSE-SU-2024:12409-1
Rocky Linux 8 libdb-cxx-debuginfox86_64 Listed in advisory Not stated RLSA-2023:2097
Rocky Linux 8 libdb-debuginfox86_64 Listed in advisory Not stated RLSA-2023:2097
Rocky Linux 8 libdb-debugsourcex86_64 Listed in advisory Not stated RLSA-2023:2097
Rocky Linux 8 libdb-sql-debuginfox86_64 Listed in advisory Not stated RLSA-2023:2097
Rocky Linux 8 libdb-sql-devel-debuginfox86_64 Listed in advisory Not stated RLSA-2023:2097
Rocky Linux 8 libdb-utils-debuginfox86_64 Listed in advisory Not stated RLSA-2023:2097

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.

en · apache · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Apache Software Foundation Apache Commons Text unspecified through 1.9 (affected · custom)1.5 to < Apache Commons Text* (affected · custom) apache · cna

Weaknesses

1
  • Unexpected variable interpolation (apache · cna)

References

9

Provider assertions

3

apache · cna

Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
4956c66328dfd5c26c621f8f14d00635405d13caa47f102a560498fb61983f61
Ingested
23 Sep 2026, 08:02:53 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected