CVE-2022-42889
Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
23Exploited in Wild
-Decision
Descriptions
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.
Apache Commons Text lleva a cabo una interpolación de variables, permitiendo que las propiedades sean evaluadas y expandidas dinámicamente. El formato estándar para la interpolación es "${prefix:name}", donde "prefix" es usado para localizar una instancia de org.apache.commons.text.lookup.StringLookup que lleva a cabo la interpolación. A partir de la versión 1.5 y hasta 1.9, el conjunto de instancias de Lookup por defecto incluía interpoladores que podían dar lugar a una ejecución de código arbitrario o al contacto con servidores remotos. Estos lookups son: - "script" - ejecuta expresiones usando el motor de ejecución de scripts de la JVM (javax.script) - "dns" - resuelve registros dns - "url" - carga valores de urls, incluso de servidores remotos Las aplicaciones usando los interpoladores por defecto en las versiones afectadas pueden ser vulnerables a una ejecución de código remota o al contacto involuntario con servidores remotos si son usados valores de configuración que no son confiables. Es recomendado a usuarios actualizar a Apache Commons Text versión 1.10.0, que deshabilita los interpoladores problemáticos por defecto
A flaw was found in Apache Commons Text packages 1.5 through 1.9. The affected versions allow an attacker to benefit from a variable interpolation process contained in Apache Commons Text, which can cause properties to be dynamically defined. Server applications are vulnerable to remote code execution (RCE) and unintentional contact with untrusted remote servers.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-10-12 CVE Reserved
- 2022-10-13 CVE Published
- 2022-10-17 First Exploit
- 2024-08-03 CVE Updated
- 2024-11-08 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-1188: Initialization of a Resource with an Insecure Default
CAPEC
References (36)
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om | 2024-01-19 | |
https://security.gentoo.org/glsa/202301-05 | 2024-01-19 | |
https://access.redhat.com/security/cve/CVE-2022-42889 | 2024-05-30 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2135435 | 2024-05-30 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | < 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version " < 7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa1500 Search vendor "Juniper" for product "Jsa1500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | < 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version " < 7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa3500 Search vendor "Juniper" for product "Jsa3500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | < 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version " < 7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa3800 Search vendor "Juniper" for product "Jsa3800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | < 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version " < 7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa5500 Search vendor "Juniper" for product "Jsa5500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | < 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version " < 7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa5800 Search vendor "Juniper" for product "Jsa5800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | < 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version " < 7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa7500 Search vendor "Juniper" for product "Jsa7500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | < 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version " < 7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa7800 Search vendor "Juniper" for product "Jsa7800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa1500 Search vendor "Juniper" for product "Jsa1500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa3500 Search vendor "Juniper" for product "Jsa3500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa3800 Search vendor "Juniper" for product "Jsa3800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa5500 Search vendor "Juniper" for product "Jsa5500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa5800 Search vendor "Juniper" for product "Jsa5800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa7500 Search vendor "Juniper" for product "Jsa7500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | - |
Affected
| in | Juniper Search vendor "Juniper" | Jsa7800 Search vendor "Juniper" for product "Jsa7800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up1 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa1500 Search vendor "Juniper" for product "Jsa1500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up1 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa3500 Search vendor "Juniper" for product "Jsa3500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up1 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa3800 Search vendor "Juniper" for product "Jsa3800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up1 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa5500 Search vendor "Juniper" for product "Jsa5500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up1 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa5800 Search vendor "Juniper" for product "Jsa5800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up1 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa7500 Search vendor "Juniper" for product "Jsa7500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up1 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa7800 Search vendor "Juniper" for product "Jsa7800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up2 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa1500 Search vendor "Juniper" for product "Jsa1500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up2 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa3500 Search vendor "Juniper" for product "Jsa3500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up2 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa3800 Search vendor "Juniper" for product "Jsa3800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up2 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa5500 Search vendor "Juniper" for product "Jsa5500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up2 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa5800 Search vendor "Juniper" for product "Jsa5800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up2 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa7500 Search vendor "Juniper" for product "Jsa7500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up2 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa7800 Search vendor "Juniper" for product "Jsa7800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up3 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa1500 Search vendor "Juniper" for product "Jsa1500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up3 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa3500 Search vendor "Juniper" for product "Jsa3500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up3 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa3800 Search vendor "Juniper" for product "Jsa3800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up3 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa5500 Search vendor "Juniper" for product "Jsa5500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up3 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa5800 Search vendor "Juniper" for product "Jsa5800" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up3 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa7500 Search vendor "Juniper" for product "Jsa7500" | - | - |
Safe
|
Juniper Search vendor "Juniper" | Security Threat Response Manager Search vendor "Juniper" for product "Security Threat Response Manager" | 7.5.0 Search vendor "Juniper" for product "Security Threat Response Manager" and version "7.5.0" | up3 |
Affected
| in | Juniper Search vendor "Juniper" | Jsa7800 Search vendor "Juniper" for product "Jsa7800" | - | - |
Safe
|
Apache Search vendor "Apache" | Commons Text Search vendor "Apache" for product "Commons Text" | >= 1.5 < 1.10.0 Search vendor "Apache" for product "Commons Text" and version " >= 1.5 < 1.10.0" | - |
Affected
| ||||||
Netapp Search vendor "Netapp" | Bluexp Search vendor "Netapp" for product "Bluexp" | - | - |
Affected
|