{"id":"CVE-2022-42889","url":"https://www.cyber-defence.io/tools/cve/CVE-2022-42889","generatedAt":"2026-11-04T23:59:56.492Z","title":"Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded.","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.","published":"2022-10-13T13:15:10.000Z","lastModified":"2026-06-17T05:05:32.000Z","status":"Modified","sourceIdentifier":"security@apache.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-94"],"affected":["apache/commons text","netapp/bluexp","juniper/security threat response manager"],"epss":{"score":0.99931,"percentile":0.9997,"date":"2026-11-03","history":[]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2025-04-18","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":52261,"kind":"exploit","title":"Apache Commons Text  1.10.0 - Remote Code Execution","url":"https://www.exploit-db.com/exploits/52261","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/webapps/52261.py","file":"exploits/multiple/webapps/52261.py","published":"2025-04-18","added":"2025-04-18","updated":"2025-04-18","author":"Arjun Chaudhary","type":"webapps","platform":"multiple","port":null,"verified":false,"codes":["CVE-2022-42889"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 99.9%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/171003/OX-App-Suite-Cross-Site-Scripting-Server-Side-Request-Forgery.html","tags":["Third Party Advisory","VDB Entry"],"source":"security@apache.org"},{"url":"http://packetstormsecurity.com/files/176650/Apache-Commons-Text-1.9-Remote-Code-Execution.html","source":"security@apache.org"},{"url":"http://seclists.org/fulldisclosure/2023/Feb/3","tags":["Mailing List","Third Party Advisory"],"source":"security@apache.org"},{"url":"http://www.openwall.com/lists/oss-security/2022/10/13/4","tags":["Mailing List","Third Party Advisory"],"source":"security@apache.org"},{"url":"http://www.openwall.com/lists/oss-security/2022/10/18/1","tags":["Mailing List","Third Party Advisory"],"source":"security@apache.org"},{"url":"https://lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om","tags":["Mailing List","Vendor Advisory"],"source":"security@apache.org"},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0022","tags":["Third Party Advisory"],"source":"security@apache.org"},{"url":"https://security.gentoo.org/glsa/202301-05","tags":["Third Party Advisory"],"source":"security@apache.org"},{"url":"https://security.netapp.com/advisory/ntap-20221020-0004/","tags":["Third Party Advisory"],"source":"security@apache.org"},{"url":"http://packetstormsecurity.com/files/171003/OX-App-Suite-Cross-Site-Scripting-Server-Side-Request-Forgery.html","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://packetstormsecurity.com/files/176650/Apache-Commons-Text-1.9-Remote-Code-Execution.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://seclists.org/fulldisclosure/2023/Feb/3","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2022/10/13/4","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2022/10/18/1","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om","tags":["Mailing List","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0022","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/202301-05","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20221020-0004/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-42889","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}