Vulnerability
CVE-2022-42889
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.
21 advisories report this vulnerability, across 5 ecosystems.
Advisories
-
DEBIAN-CVE-2022-42889
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…
-
GHSA-599f-7c49-w659
Arbitrary code execution in Apache Commons Text
-
RHSA-2023:0261
Red Hat Security Advisory: Satellite 6.12.1 Async Security Update
-
RHSA-2023:1524
Red Hat Security Advisory: OpenShift Container Platform 4.9.59 security update
-
RHSA-2023:1655
Red Hat Security Advisory: OpenShift Container Platform 4.10.56 security update
-
RHSA-2023:2097
Red Hat Security Advisory: Satellite 6.13 Release
-
RHSA-2023:3195
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
-
RHSA-2023:3198
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
-
RHSA-2023:3299
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
-
RHSA-2023:6171
Red Hat Security Advisory: Red Hat Product OCP Tools 4.11 Openshift Jenkins security update
-
RHSA-2023:6172
Red Hat Security Advisory: Red Hat Product OCP Tools 4.12 Openshift Jenkins security update
-
RHSA-2023:6179
Red Hat Security Advisory: Red Hat Product OCP Tools 4.13 OpenShift Jenkins security update
-
RHSA-2023:7288
Red Hat Security Advisory: Red Hat Product OCP Tools 4.14 Openshift Jenkins security update
-
RHSA-2024:0775
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
-
RHSA-2024:0776
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
-
RHSA-2024:0777
Red Hat Security Advisory: jenkins and jenkins-2-plugins security update
-
RHSA-2024:0778
Red Hat Security Advisory: Jenkins and Jenkins-2-plugins security update
-
RHSA-2025:1746
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.1.9 on RHEL 7 security update
-
RHSA-2025:1747
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.12 security update
-
UBUNTU-CVE-2022-42889
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…
-
openSUSE-SU-2024:12409-1
apache-commons-text-1.10.0-1.1 on GA media
References
- http://packetstormsecurity.com/files/171003/OX-App-Suite-Cross-Site-Scripting-Server-Side-Request-Forgery.html
- http://packetstormsecurity.com/files/176650/Apache-Commons-Text-1.9-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2023/Feb/3
- http://www.openwall.com/lists/oss-security/2022/10/13/4
- http://www.openwall.com/lists/oss-security/2022/10/18/1
- https://lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0022
- https://security.gentoo.org/glsa/202301-05
- https://security.netapp.com/advisory/ntap-20221020-0004/