Cyber Resilience

CVE-2022-42889

RCE in Juniper Security Threat Response Manager ≤ 7.5.0

Public PoCHigh EPSSRCE
Published
13 October 2022
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.99 100.0th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2022-42889 is a critical-severity Code Injection (CWE-94) vulnerability in Juniper Security Threat Response Manager. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Command and Scripting Interpreter (T1059); ranked in the top 0.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Apache Commons Text versions 1.5 through 1.9 contain a vulnerability in their variable interpolation feature, which expands strings in the format "${prefix:name}" using built-in StringLookup instances. The affected component ships with default lookups for "script" (via javax.script), "dns", and "url" that were enabled by default and could be reached when applications processed untrusted configuration values.

An attacker who can supply crafted configuration data to an application using these defaults can trigger arbitrary code execution through the script interpolator or force the application to contact attacker-controlled remote servers via the dns and url lookups. The issue carries a CVSS 3.1 score of 9.8, reflecting network attackability without authentication or user interaction.

Official guidance recommends upgrading to Apache Commons Text 1.10.0, which disables the dangerous interpolators by default. Public exploit code for remote code execution against the library has been published, and the CVE maintains a very high EPSS score with a recorded peak of 0.9732.

The combination of a critical severity rating, straightforward remote exploitation path, and sustained high exploitation probability indicates the vulnerability has drawn ongoing attacker interest since disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1059.001 PowerShell Execution
Adversaries may abuse PowerShell commands and scripts for execution.
T1059.002 AppleScript Execution
Adversaries may abuse AppleScript for execution.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
T1059.005 Visual Basic Execution
Adversaries may abuse Visual Basic (VB) for execution.
T1059.006 Python Execution
Adversaries may abuse Python commands and scripts for execution.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-11837Same product class: NAS / storage appliance
CVE-2021-21345Same product class: NAS / storage appliance
CVE-2021-29505Same product class: NAS / storage appliance
CVE-2024-50405Same product class: NAS / storage appliance
CVE-2021-39144Same product class: NAS / storage appliance
CVE-2019-0192Same product class: NAS / storage appliance
CVE-2024-53693Same product class: NAS / storage appliance
CVE-2024-38346Same vendor: Apache
CVE-2026-25077Same vendor: Apache
CVE-2023-28706Same vendor: Apache

Affected Assets

apache
commons text
1.5 — 1.10.0
netapp
bluexp
all versions
juniper
security threat response manager
7.5.0 · ≤ 7.5.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.3.1

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-94

Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.

addresses: CWE-94

Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.

addresses: CWE-94

Validates inputs used in dynamic code generation to block injected directives.

addresses: CWE-94

Directly prevents execution of attacker-supplied code written into data memory regions.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

PR.PS-06's SDLC practices directly target injection flaws via secure coding and testing (mostly), yet as a single broad outcome it leaves many code-generation specifics unaddressed (partial).

PR.DS-10 none match
prevents

PR.DS-10 protects runtime data confidentiality/integrity but has no bearing on neutralizing externally influenced input during code generation, so neither direction shows any preventive effect.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Banning unapproved code samples and unauthenticated web services, combined with secure-coding standards and SAST, prevents the dynamic generation or inclusion of attacker-supplied code.

References