CVE-2022-42889

Aliases:GHSA-599f-7c49-w659
Modified
Published: 13 Oct 2022, 00:00
Last modified:20 Nov 2024, 16:19

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
94.25% CRITICAL
94% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected

Timeline

13 Oct 2022, 00:00
Published
Vulnerability first disclosed
20 Nov 2024, 16:19
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 94.25% Percentile: 100%

Techniques & Countermeasures

  • CWE-94Improper Control of Generation of Code ('Code Injection')

    The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Affected Systems

  • apache software foundationapache commons text

    ≥ unspecified, ≤ 1.9 | ≥ 1.5, < Apache Commons Text*

  • apachecommons_text

    ≥ 1.5, < 1.10.0

  • junipersecurity_threat_response_manager

    < 7.5.0 | 7.5.0 | 7.5.0:up1 | 7.5.0:up2 | 7.5.0:up3

  • com.guicedee.servicescommons-text

    ≤ 1.2.2.1-jre17

  • org.apache.commonscommons-text

    ≥ 1.5, < 1.10.0

  • netappbluexp

    na

References (14)