SCA: security update for org.apache.commons:commons-text (GHSA-599f-7c49-w659)

critical Tenable Cloud Security Plugin ID 410719

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-42889)

See Also

https://github.com/advisories/GHSA-599f-7c49-w659

Plugin Details

Severity: Critical

ID: 410719

Version: Revision 1.11

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.6

Percentile: 98.48

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-42889

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/13/2022

Vulnerability Publication Date: 10/13/2022

Exploitable With

Metasploit (Apache Commons Text RCE)

Reference Information

CVE: CVE-2022-42889

cwe: CWE-94