CVE-2022-42889
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.commons:commons-textMaven | >= 1.5, < 1.10.0 | 1.10.0 |
com.guicedee.services:commons-textMaven | <= 1.2.2.1-jre17 | — |
Affected products
11cpe:2.3:a:apache:commons_text:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:apache:commons_text:*:*:*:*:*:*:*:*range: >=1.5,<1.10.0
- (no CPE)range: unspecified
cpe:2.3:a:juniper:security_threat_response_manager:*:*:*:*:*:*:*:*+ 4 more
- cpe:2.3:a:juniper:security_threat_response_manager:*:*:*:*:*:*:*:*range: <7.5.0
- cpe:2.3:a:juniper:security_threat_response_manager:7.5.0:-:*:*:*:*:*:*
- cpe:2.3:a:juniper:security_threat_response_manager:7.5.0:up1:*:*:*:*:*:*
- cpe:2.3:a:juniper:security_threat_response_manager:7.5.0:up2:*:*:*:*:*:*
- cpe:2.3:a:juniper:security_threat_response_manager:7.5.0:up3:*:*:*:*:*:*
- ghsa-coords3 versionspkg:maven/com.guicedee.services/commons-textpkg:maven/org.apache.commons/commons-textpkg:rpm/opensuse/apache-commons-text&distro=openSUSE%20Tumbleweed
<= 1.2.2.1-jre17+ 2 more
- (no CPE)range: <= 1.2.2.1-jre17
- (no CPE)range: >= 1.5, < 1.10.0
- (no CPE)range: < 1.10.0-1.1
Patches
Vulnerability mechanics
References
14- packetstormsecurity.com/files/171003/OX-App-Suite-Cross-Site-Scripting-Server-Side-Request-Forgery.htmlnvdThird Party AdvisoryVDB EntryWEB
- seclists.org/fulldisclosure/2023/Feb/3nvdMailing ListThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2022/10/13/4nvdMailing ListThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2022/10/18/1nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-599f-7c49-w659ghsaADVISORY
- lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1omnvdMailing ListVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-42889ghsaADVISORY
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0022nvdThird Party AdvisoryWEB
- security.gentoo.org/glsa/202301-05nvdThird Party AdvisoryWEB
- security.netapp.com/advisory/ntap-20221020-0004/nvdThird Party Advisory
- securitylab.github.com/advisories/GHSL-2022-018_Apache_Commons_TextghsaADVISORY
- packetstormsecurity.com/files/176650/Apache-Commons-Text-1.9-Remote-Code-Execution.htmlnvdWEB
- arxiv.org/pdf/2306.05534ghsaWEB
- security.netapp.com/advisory/ntap-20221020-0004ghsaWEB
News mentions
0No linked articles in our index yet.