CVE-2022-42889
Scores
EPSS
Percentile: 94.3%
CVSS
CVSS Score: 9.8/10
All CVSS Scores
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vector Breakdown
CVSS (Common Vulnerability Scoring System) vector provides detailed metrics about vulnerability characteristics
CVSS
Attack Vector
Network (N)
Describes how the vulnerability is exploited
Attack Complexity
Low (L)
Describes the conditions beyond the attacker's control
Privileges Required
None (N)
Describes the level of privileges an attacker must possess
User Interaction
None (N)
Captures the requirement for a human user participation
Scope
Unchanged (U)
Determines if a successful attack impacts components beyond the vulnerable component
Confidentiality Impact
High (H)
Measures the impact to the confidentiality of information
Integrity Impact
High (H)
Measures the impact to integrity of a successfully exploited vulnerability
Availability Impact
High (H)
Measures the impact to the availability of the impacted component
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.
Scaner-VS 7 — a modern vulnerability management solution
Sources
CWEs
Related Vulnerabilities
Exploits
Exploit ID: CVE-2022-42889
Source: github-poc
Recommendations
Source: nvd
All Apache Commons Text users should upgrade to the latest version:
# emerge –sync
# emerge –ask –oneshot –verbose “>=dev-java/commons-text-1.10.0”
Vulnerable Software (33)
Type: Configuration
Operating System:
{ "children": [ { "cpe_match": [ { "cpe23uri": "cpe:2.3:a:apache:commons-text:*:*:*:*:*:maven:*:*", "versionEndExcluding": "1.10", "versionStartInclud...
{ "children": [ { "cpe_match": [ { "cpe23uri": "cpe:2.3:a:apache:commons-text:*:*:*:*:*:maven:*:*", "versionEndExcluding": "1.10", "versionStartIncluding": "1.5" } ], "negate": false, "operator": "OR" }, { "cpe_match": [ { "cpe23uri": "cpe:2.3:a:apache:commons_text:*:*:*:*:*:maven:*:*", "versionEndExcluding": "1.10", "versionStartIncluding": "1.5" } ], "negate": false, "operator": "OR" }, { "cpe_match": [ { "cpe23uri": "cpe:2.3:a:org.apache.commons:commons-text:*:*:*:*:*:maven:*:*", "versionEndExcluding": "1.10", "versionStartIncluding": "1.5" } ], "negate": false, "operator": "OR" } ], "operator": "OR"}
Source: anchore_overrides
Type: Configuration
Operating System:
{ "children": [ { "cpe_match": [ { "cpe23uri": "cpe:2.3:a:com.guicedee.services:commons-text:*:*:*:*:*:maven:*:*", "versionEndIncluding": "1.2.2.1-jre17" ...
{ "children": [ { "cpe_match": [ { "cpe23uri": "cpe:2.3:a:com.guicedee.services:commons-text:*:*:*:*:*:maven:*:*", "versionEndIncluding": "1.2.2.1-jre17" } ], "negate": false, "operator": "OR" } ], "operator": "OR"}
Source: anchore_overrides
Type: Configuration
Product: candlepin
Operating System: rhel
{ "fixed": "4.1.18-1.el8sat"}
Source: redhat
Type: Configuration
Product: candlepin
Operating System: rhel
{ "fixed": "4.2.13-1.el8sat"}
Source: redhat
Type: Configuration
Product: commons-text
Operating System: debian
{ "fixed": "1.10.0-1"}
Source: debian
Type: Configuration
Product: commons-text
Operating System: debian bullseye 11
{ "unfixed": true}
Source: debian
Type: Configuration
Product: commons-text
Operating System: ubuntu focal 20.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: commons-text
Operating System: ubuntu jammy 22.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: commons-text
Operating System: ubuntu kinetic 22.10
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: commons-text
Operating System: ubuntu lunar 23.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: commons-text
Operating System: ubuntu mantic 23.10
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: commons-text
Operating System: ubuntu noble 24.04
{ "unaffected": true}
Source: ubuntu
Type: Configuration
Product: commons-text
Operating System: ubuntu oracular 24.10
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: commons-text
Operating System: ubuntu plucky 25.04
{ "unaffected": true}
Source: ubuntu
Type: Configuration
Product: commons-text
Operating System: ubuntu questing 25.10
{ "unaffected": true}
Source: ubuntu
Type: Configuration
Product: commons-text
Operating System: ubuntu trusty 14.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: commons-text
Operating System: ubuntu xenial 16.04
{ "unfixed": true}
Source: ubuntu
Type: Configuration
Product: jenkins-2-plugins
Operating System: rhel
{ "fixed": "4.13.1684911916-1.el8"}
Source: redhat
Type: Configuration
Product: jenkins-2-plugins
Operating System: rhel
{ "fixed": "4.13.1698292274-1.el8"}
Source: redhat
Type: Configuration
Product: jenkins-2-plugins
Operating System: rhel
{ "fixed": "4.13.1706516346-1.el8"}
Source: redhat