Version 1.12.0

Apache Commons Text

Apache Commons Text

Install Instructions

mvn install commons-text
Language Java

Find Apache Commons Text vulnerabilities in your supply chain.

Scan for Free

Apache Commons Text Vulnerabilities

Sort by
icon CVE (Latest)
  • icon CVE (Latest)
  • icon CVE (Oldest)
  • icon CVSS Score (Highest)
  • icon CVSS Score (Lowest)
CVE question mark icon CVSS Score question mark icon CWE(s) question mark icon EPSS Score question mark icon EPSS % question mark icon Impacted Versions
CVE-2022-42889 High 9.8 CWE-94 0.97203 0.99866
  • 1.5–1.9

Apache Commons Text Vulnerability Remediation Guidance

CVE Description Full list of Impacted Versions Fix
CVE-2022-42889 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. 1.9, 1.8, 1.6, 1.5, 1.7 Patch → 1.10.0

Instantly see if these Apache Commons Text vulnerabilities affect your code.

Scan for Free

Dependencies

Packages using versions of Apache Commons Text affected by its vulnerabilities

Dependent Packages
org.apache.commons:commons-lang3:3.14.0
org.junit.jupiter:junit-jupiter:
net.bytebuddy:byte-buddy:${commons.bytebuddy.version}
net.bytebuddy:byte-buddy-agent:${commons.bytebuddy.version}
org.assertj:assertj-core:3.25.3
commons-io:commons-io:2.16.1
org.mockito:mockito-inline:${commons.mockito.version}
org.graalvm.js:js:${graalvm.version}
org.graalvm.js:js-scriptengine:${graalvm.version}
org.apache.commons:commons-rng-simple:${commons.rng.version}
org.openjdk.jmh:jmh-core:${jmh.version}
org.openjdk.jmh:jmh-generator-annprocess:${jmh.version}