--- title: "CVE-2022-42889: Apache Commons Text prior to 1.10.0… | CubePath" description: "Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation…" language: en source: https://cubepath.com/security/cve/CVE-2022-42889 --- # CVE-2022-42889: Apache Commons Text prior to 1.10.0… | CubePath ## 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. Official description from the CVE record, published by apache. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2022-42889) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.99931 (99.9% probability) Percentile 99.97% Scores of Nov 10, 2026 Model v2026.06.15 ### CISA assessment as of Jan 24, 2024 Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA. Automatable yes Technical impact total ## Affected products Products listed in the CVE record, as the CNA published them. - Apache Commons Text - affected: unspecified up to 1.9 - affected: 1.5 up to before Apache Commons Text\* ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om](https://lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om) - [\[oss-security\] 20221013 CVE-2022-42889: Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults](http://www.openwall.com/lists/oss-security/2022/10/13/4) (openwall.com) mailing-list - [\[oss-security\] 20221017 Re: CVE-2022-42889: Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults](http://www.openwall.com/lists/oss-security/2022/10/18/1) (openwall.com) mailing-list - [security.netapp.com/advisory/ntap-20221020-0004](https://security.netapp.com/advisory/ntap-20221020-0004/) - [psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0022](https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0022) - [GLSA-202301-05](https://security.gentoo.org/glsa/202301-05) (security.gentoo.org) vendor-advisory - [20230214 OXAS-ADV-2022-0002: OX App Suite Security Advisory](http://seclists.org/fulldisclosure/2023/Feb/3) (seclists.org) mailing-list - [packetstormsecurity.com/files/171003/OX-App-Suite-Cross-Sit…](http://packetstormsecurity.com/files/171003/OX-App-Suite-Cross-Site-Scripting-Server-Side-Request-Forgery.html) - [packetstormsecurity.com/files/176650/Apache-Commons-Text-1.…](http://packetstormsecurity.com/files/176650/Apache-Commons-Text-1.9-Remote-Code-Execution.html) ## Timeline 1. ID reserved Oct 12, 2022 2. Record published Oct 13, 2022 3. Record last updated Nov 20, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:01 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)