Schwachstellen / CVE-2022-42889

kritisch

CVE-2022-42889

apache-commons-text: variable interpolation RCE

Veröffentlicht Geändert CWE 94
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA, Red Hat. Niedriger laut Ubuntu (mittel).

Beschreibung

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.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
maven::GitHub Security Advisory Mavencom.guicedee.services:commons-text, org.apache.commons:commons-text1.10.0
Red Hatcandlepin, candlepin-selinux, jenkins-2-pluginskein Fix angegeben
debian 11commons-textkein Fix angegeben
debian 12commons-text1.10.0-1
debian 13commons-text1.10.0-1
debian 14commons-text1.10.0-1
echocommons-text1.10.0-1
seal Red Hat 7python-jinja2, seal-python-jinja22.7.2-4.el7+sp999
seal Red Hat 8libsolv, seal-libsolv0.7.20-6.el8+sp999
ubuntu 20.04-ESMcommons-textkein Fix angegeben
ubuntu 22.04commons-textkein Fix angegeben
Alle 16 Einträge aus 11 Quellen zeigen
QuellePaketBehoben in
maven::GitHub Security Advisory Mavencom.guicedee.services:commons-textkein Fix angegeben
maven::GitHub Security Advisory Mavenorg.apache.commons:commons-text1.10.0
Red Hatcandlepinkein Fix angegeben
Red Hatcandlepin-selinuxkein Fix angegeben
Red Hatjenkins-2-pluginskein Fix angegeben
debian 11commons-textkein Fix angegeben
debian 12commons-text1.10.0-1
debian 13commons-text1.10.0-1
debian 14commons-text1.10.0-1
echocommons-text1.10.0-1
seal Red Hat 7python-jinja22.7.2-4.el7+sp999
seal Red Hat 7seal-python-jinja22.7.2-4.el7+sp999
seal Red Hat 8libsolv0.7.20-6.el8+sp999
seal Red Hat 8seal-libsolv0.7.20-6.el8+sp999
ubuntu 20.04-ESMcommons-textkein Fix angegeben
ubuntu 22.04commons-textkein Fix angegeben

Referenzen

Alle 18 Referenzen

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.