Arbitrary Code Injection The advisory has been revoked - it doesn't affect any version of package jenkins-2-plugins  (opens in a new tab)


Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
99.93% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-JENKINS2PLUGINS-5252079
  • published26 Mar 2023
  • disclosed13 Oct 2022

Introduced: 13 Oct 2022

CVE-2022-42889  (opens in a new tab)
CWE-94  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:7.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jenkins-2-plugins package and not the jenkins-2-plugins package as distributed by RHEL.

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.