Vulnerabilidades / CVE-2022-42889

crítica

CVE-2022-42889

apache-commons-text: variable interpolation RCE

Publicada Modificada CWE 94
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

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

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA, Red Hat. Más baja según Ubuntu (media).

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
maven::GitHub Security Advisory Mavencom.guicedee.services:commons-text, org.apache.commons:commons-text1.10.0
Red Hatcandlepin, candlepin-selinux, jenkins-2-pluginssin corrección indicada
debian 11commons-textsin corrección indicada
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-textsin corrección indicada
ubuntu 22.04commons-textsin corrección indicada
Mostrar las 16 entradas de 11 fuentes
FuentePaqueteCorregido en
maven::GitHub Security Advisory Mavencom.guicedee.services:commons-textsin corrección indicada
maven::GitHub Security Advisory Mavenorg.apache.commons:commons-text1.10.0
Red Hatcandlepinsin corrección indicada
Red Hatcandlepin-selinuxsin corrección indicada
Red Hatjenkins-2-pluginssin corrección indicada
debian 11commons-textsin corrección indicada
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-textsin corrección indicada
ubuntu 22.04commons-textsin corrección indicada

Referencias

Las 18 referencias

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.