Vulnérabilités / CVE-2022-42889

critique

CVE-2022-42889

apache-commons-text: variable interpolation RCE

Publiée Modifiée CWE 94
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA, Red Hat. Plus basse selon Ubuntu (moyenne).

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
maven::GitHub Security Advisory Mavencom.guicedee.services:commons-text, org.apache.commons:commons-text1.10.0
Red Hatcandlepin, candlepin-selinux, jenkins-2-pluginspas de correctif indiqué
debian 11commons-textpas de correctif indiqué
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-textpas de correctif indiqué
ubuntu 22.04commons-textpas de correctif indiqué
Afficher les 16 entrées de 11 sources
SourcePaquetCorrigé en
maven::GitHub Security Advisory Mavencom.guicedee.services:commons-textpas de correctif indiqué
maven::GitHub Security Advisory Mavenorg.apache.commons:commons-text1.10.0
Red Hatcandlepinpas de correctif indiqué
Red Hatcandlepin-selinuxpas de correctif indiqué
Red Hatjenkins-2-pluginspas de correctif indiqué
debian 11commons-textpas de correctif indiqué
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-textpas de correctif indiqué
ubuntu 22.04commons-textpas de correctif indiqué

Références

Les 18 références

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.