RULE(RULE ID:715663)

Rule General Information
Release Date: 2022-10-20
Rule Name: Apache Commons Text Remote Code Execution Vulnerability (CVE-2022-42889)-2
Severity:
CVE ID:
Rule Protection Details
Description: A remote code execution vulnerability exists in Apache Commons Text prior to 1.10.0 due to improper validation of interpolation defaults. The "prefix" in the Apache Commons Text interpolation format "${prefix:name}" is used to locate the instance of org.apache.commons.text.lookup.StringLookup that performs the interpolation, if the Lookup instance contains untrusted configuration values , the attacker can execute malicious code by constructing malicious text.
Impact: An attacker can execute arbitrary code via a successful exploit in the context of the vulnerable software.
Affected OS: Windows, Linux, Others
Reference: http://seclists.org/fulldisclosure/2023/Feb/3
https://security.netapp.com/advisory/ntap-20221020-0004/
https://security.gentoo.org/glsa/202301-05
http://www.openwall.com/lists/oss-security/2022/10/18/1
Solutions
The vendor has released upgrade patches to fix vulnerabilities, please visit:
https://lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om