CVE-2022-42889

CRITICALNVD 9.89.8
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2022-10-13. NVD baseline CVSS 9.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Weaponized

Also known asEUVD-2022-7022 (ENISA EUVD) · GHSA-599f-7c49-w659 (GitHub Security Advisories)Source: ENISA EUVD

9.8EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • High exploitation likelihood — EPSS 99.9%
  • Public exploit code is available (Metasploit, other public proof-of-concept code)
CISA-KEV: Not listedEPSS PROB: 99.9%CVSS: 9.8Exploit: Metasploit · other public PoCExposed services: Not assessed

A fix is available — apply it.

Fixed versions, as the CVE record's CNA (Apache Software Foundation) states them in the record's workaround: "Upgrade to Apache Commons Text 1.10.0."

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.

CVSS v3
9.8
EG Score
9.8CRITICALmedium confidence
EG Risk
99
EG Risk 99/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity98% × 45%
Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation99.9% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability100% × 15%
CISA's SSVC Automatable value: yes (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
99.9%
EPSS %ILE
99th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.

EG Severity
9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
99.9% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-12). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 3 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)3 days if the affected system is publicly exposed; 60 days if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

October 13, 2022

Last Modified

November 21, 2024

Advisory Details (9)

Auto-updated Oct 10, 2026
Patch available.
Web page

Apache Commons Text: Arbitrary Code Execution (GLSA 202301-05) — Gentoo security

https://security.gentoo.org/glsa/202301-05
Web page

oss-security - Re: CVE-2022-42889: Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults

http://www.openwall.com/lists/oss-security/2022/10/18/1
Web page

oss-security - CVE-2022-42889: Apache Commons Text prior to 1.10.0 allows RCE when applied to untrusted input due to insecure interpolation defaults

http://www.openwall.com/lists/oss-security/2022/10/13/4
Web page

Full Disclosure: OXAS-ADV-2022-0002: OX App Suite Security Advisory

http://seclists.org/fulldisclosure/2023/Feb/3

Patch Availability(22)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
redhateap7-wildfly-0:7.3.12-3.GA_redhat_00002.1.el7eap2025-02-24redhat
redhateap7-wildfly-0:7.1.9-2.GA_redhat_00002.1.ep7.el72025-02-24redhat
redhatpatch2024-05-30redhat
redhatjenkins-2-plugins-0:4.12.1706515741-1.el82024-02-12redhat
redhatjenkins-2-plugins-0:4.11.1706516946-1.el82024-02-12redhat
redhatjenkins-2-plugins-0:4.14.1706516441-1.el82024-02-12redhat
redhatjenkins-2-plugins-0:4.13.1706516346-1.el82024-02-12redhat
redhatjenkins-2-plugins-0:4.14.1699356715-1.el82023-11-16redhat
redhatjenkins-2-plugins-0:4.12.1698294000-1.el82023-10-30redhat
redhatjenkins-2-plugins-0:4.13.1698292274-1.el82023-10-30redhat
redhatjenkins-2-plugins-0:4.11.1698299029-1.el82023-10-30redhat
redhatjenkins-2-plugins-0:4.13.1684911916-1.el82023-05-24redhat
redhatjenkins-2-plugins-0:4.12.1683009955-1.el82023-05-18redhat
redhatjenkins-2-plugins-0:4.11.1683009941-1.el82023-05-17redhat
redhatcommons-text2023-05-04redhat
redhatcandlepin-0:4.2.13-1.el8sat2023-05-03redhat
redhatjenkins-2-plugins-0:4.10.1680703106-1.el82023-04-12redhat
redhatjenkins-2-plugins-0:4.9.1680069756-1.el82023-04-05redhat
redhatpatch2023-03-08redhat
redhatcandlepin-0:4.1.18-1.el8sat2023-01-18redhat
mavencom.guicedee.services:commons-text—ghsa
mavenorg.apache.commons:commons-text @ 1.10.0 (fixes >= 1.5, < 1.10.0)—ghsa

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(6 across 5 ecosystems)
Maven(2)
PackageVulnerable rangeFix by version rangeDependents
com.guicedee.services:commons-text0.70.0.1 ... 1.2.2.1-jre17 (445 versions)
  • every version through 1.2.2.1-jre17: no fix on record
—
org.apache.commons:commons-text1.5, 1.6, 1.7, 1.8, 1.9
  • 1.5 up to 1.10.0: fixed in 1.10.0
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
commons-text1.10.0-1 ... 1.9-2 (10 versions)
  • every version on: no fix on record
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
commons-text—
  • every version up to 1.10.0-1: fixed in 1.10.0-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
commons-text—
  • every version up to 1.10.0-1: fixed in 1.10.0-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
commons-text—
  • every version up to 1.10.0-1: fixed in 1.10.0-1
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(5)

Data Freshness Timeline

(refreshed 14× in last 7d / 47× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.

Showing the most recent 100 of 111 rows on record for this CVE, as 99 entries (1 repeat merged).

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 1 repeat row among the latest 100 is merged into the row it repeats. The 11 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-13 07:24 UTCEchelonGraph re-scored
  2. 2026-11-13 07:24 UTCVendor advisory
  3. 2026-11-13 07:24 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  4. 2026-11-12 07:44 UTCEchelonGraph re-scored
  5. 2026-11-12 07:44 UTCVendor advisory
  6. 2026-11-12 07:44 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  7. 2026-11-11 08:09 UTCEchelonGraph re-scored
  8. 2026-11-11 08:09 UTCVendor advisory
  9. 2026-11-11 08:09 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  10. 2026-11-10 08:33 UTCEchelonGraph re-scored
  11. 2026-11-10 08:33 UTCVendor advisory
  12. 2026-11-10 08:33 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  13. 2026-11-09 08:58 UTCEchelonGraph re-scored
  14. 2026-11-09 08:58 UTCVendor advisory
  15. 2026-11-09 08:58 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  16. 2026-11-08 09:23 UTCEchelonGraph re-scored
  17. 2026-11-08 09:23 UTCVendor advisory
  18. 2026-11-08 09:23 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  19. 2026-11-07 09:48 UTCEchelonGraph re-scored
  20. 2026-11-07 09:48 UTCVendor advisory
  21. 2026-11-07 09:48 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  22. 2026-11-06 10:14 UTCEchelonGraph re-scored
  23. 2026-11-06 10:14 UTCVendor advisory
  24. 2026-11-06 10:14 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  25. 2026-11-05 10:37 UTCEchelonGraph re-scored
Show 74 more
  1. 2026-11-05 10:37 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  2. 2026-11-04 11:02 UTCEchelonGraph re-scored
  3. 2026-11-04 11:02 UTCVendor advisory
  4. 2026-11-04 11:02 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  5. 2026-11-04 07:25 UTCOSV refresh
  6. 2026-11-03 11:27 UTCEchelonGraph re-scored
  7. 2026-11-03 11:27 UTCVendor advisory
  8. 2026-11-03 11:27 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  9. 2026-11-02 11:52 UTCEchelonGraph re-scored
  10. 2026-11-02 11:52 UTCVendor advisory
  11. 2026-11-02 11:51 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  12. 2026-11-01 12:17 UTCVendor advisory
  13. 2026-11-01 12:16 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  14. 2026-11-01 08:24 UTCGHSA enrichmentGHSA-599f-7c49-w659 · GitHub severity CRITICAL · GitHub CVSS 9.8
  15. 2026-11-01 08:24 UTCEchelonGraph re-scored
  16. 2026-10-31 12:41 UTCEchelonGraph re-scored
  17. 2026-10-31 12:41 UTCVendor advisory
  18. 2026-10-30 13:06 UTCEchelonGraph re-scored
  19. 2026-10-30 13:06 UTCVendor advisory
  20. 2026-10-29 13:31 UTCEchelonGraph re-scored
  21. 2026-10-29 13:31 UTCVendor advisory
  22. 2026-10-28 13:56 UTCEchelonGraph re-scored
  23. 2026-10-28 13:56 UTCVendor advisory
  24. 2026-10-27 14:05 UTCEchelonGraph re-scored
  25. 2026-10-27 14:05 UTCVendor advisory
  26. 2026-10-26 13:55 UTCEchelonGraph re-scored
  27. 2026-10-26 13:55 UTCVendor advisory
  28. 2026-10-25 16:29 UTCEPSS rescoreEPSS 99.9% · 99th percentile
  29. 2026-10-25 13:57 UTCEchelonGraph re-scored
  30. 2026-10-25 13:57 UTCVendor advisory
  31. 2026-10-24 14:22 UTCEchelonGraph re-scored
  32. 2026-10-24 14:22 UTCVendor advisory
  33. 2026-10-23 14:48 UTCEchelonGraph re-scored
  34. 2026-10-23 14:48 UTCVendor advisory
  35. 2026-10-22 15:11 UTCEchelonGraph re-scored
  36. 2026-10-22 15:11 UTCVendor advisory
  37. 2026-10-21 16:29 UTCEPSS rescoreEPSS 99.9% · 99th percentile
  38. 2026-10-21 15:35 UTCEchelonGraph re-scored
  39. 2026-10-21 15:35 UTCVendor advisory
  40. 2026-10-20 15:59 UTCEchelonGraph re-scored
  41. 2026-10-20 15:59 UTCVendor advisory
  42. 2026-10-19 16:20 UTCVendor advisory
  43. 2026-10-18 16:44 UTCEchelonGraph re-scored
  44. 2026-10-18 16:44 UTCVendor advisory
  45. 2026-10-18 08:25 UTCEchelonGraph re-scored
  46. 2026-10-18 01:18 UTCEchelonGraph re-scored
  47. 2026-10-18 01:18 UTCVendor advisory
  48. 2026-10-17 01:41 UTCEchelonGraph re-scored
  49. 2026-10-17 01:41 UTCVendor advisory
  50. 2026-10-16 02:05 UTCEchelonGraph re-scored
  51. 2026-10-16 02:05 UTCVendor advisory
  52. 2026-10-14 21:52 UTCEchelonGraph re-scored
  53. 2026-10-14 21:52 UTCVendor advisory
  54. 2026-10-13 17:39 UTCEchelonGraph re-scored
  55. 2026-10-13 17:39 UTCVendor advisory
  56. 2026-10-12 18:02 UTCEchelonGraph re-scored
  57. 2026-10-12 18:02 UTCVendor advisory
  58. 2026-10-11 22:09 UTCEchelonGraph re-scored
  59. 2026-10-04 23:19 UTCEPSS rescoreEPSS 99.9% · 99th percentile
  60. 2026-09-30 16:07 UTCEchelonGraph re-scored
  61. 2026-09-24 07:56 UTCOSV refresh
  62. 2026-09-07 15:58 UTCEPSS rescoreEPSS 99.9% · 99th percentile
  63. 2026-09-05 01:48 UTCOSV refresh
  64. 2026-08-24 14:13 UTCEPSS rescoreEPSS 99.9% · 99th percentile
  65. 2026-08-18 13:01 UTCOSV refresh
  66. 2026-08-13 21:58 UTCEPSS rescoreEPSS 99.9% · 99th percentile
  67. 2026-08-11 13:39 UTCEPSS rescoreEPSS 99.9% · 99th percentile
  68. 2026-08-06 13:44 UTCEPSS rescoreEPSS 99.9% · 99th percentile
  69. 2026-08-03 08:27 UTCOSV refresh
  70. 2026-07-30 01:28 UTCEPSS rescoreEPSS 99.9% · 99th percentile
  71. 2026-07-28 15:34 UTCEPSS rescoreEPSS 99.9% · 99th percentile
  72. 2026-07-23 02:14 UTCEchelonGraph re-scored
  73. 2026-07-22 23:02 UTCEchelonGraph re-scored
  74. 2026-07-16 17:53 UTCOSV refresh

Publicly available exploits

(13 references, 10 shown)

Public exploit code is referenced for this CVE (1 Metasploit module, 1 Exploit-DB entry, 10 GitHub PoCs), as is 1 GitHub checker repository. A GitHub repository named or described as a checker or scanner checks whether a system is affected; it is not necessarily exploit code. Defenders should treat patch urgency accordingly.

  • Metasploitexploit/multi/http/apache_commons_text4shell✓ verified
    Published Jan 19, 2024

    Apache Commons Text RCE

    Open source ↗
  • GitHub PoCifconfig-me/Log4Shell-Payloads
    Published Jul 23, 2025

    Log4Shell / Log4J Payload - CVE-2021-45046 and CVE-2022-42889

    Open source ↗
  • Exploit-DBEDB-52261
    Published Apr 18, 2025

    Apache Commons Text 1.10.0 - Remote Code Execution

    Open source ↗
  • GitHub PoCalealeluyah/CVE-2022-42889-Text4Shell-POC
    Published Jun 27, 2023

    This repository contains a Python script to automate the process of testing for a vulnerability known as Text4Shell, referenced under the CVE id: CVE-2022-42889.

    Open source ↗
  • GitHub checkerf0ng/text4shellburpscanner
    Published Dec 9, 2022

    text4shell(CVE-2022-42889) BurpSuite Scanner

    Open source ↗
  • GitHub PoCcryxnet/CVE-2022-42889-RCE
    Published Nov 4, 2022

    Proof of Concept for CVE-2022-42889 (Text4Shell Vulnerability)

    Open source ↗
  • GitHub PoCcxzero/CVE-2022-42889-text4shell
    Published Oct 23, 2022

    CVE-2022-42889 aka Text4Shell research & PoC

    Open source ↗
  • GitHub PoCsecurekomodo/text4shell-poc
    Published Oct 20, 2022

    Proof of Concept Appliction for testing CVE-2022-42889

    Open source ↗
  • GitHub PoCkljunowsky/CVE-2022-42889-text4shell
    Published Oct 19, 2022

    Apache commons text - CVE-2022-42889 Text4Shell proof of concept exploit.

    Open source ↗
  • GitHub PoCClickCyber/cve-2022-42889
    Published Oct 18, 2022

    cve-2022-42889 Text4Shell CVE-2022-42889 affects Apache Commons Text versions 1.5 through 1.9. It has been patched as of Commons Text version 1.10.

    Open source ↗

Frequently asked(5)

What is CVE-2022-42889?
CVE-2022-42889 is a critical-severity vulnerability; its CVE record was published on October 13, 2022. 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.…
When was the CVE record for CVE-2022-42889 published?
The CVE record for CVE-2022-42889 was published on October 13, 2022. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of November 21, 2024; the record at its source may have been updated since.
Is CVE-2022-42889 actively exploited?
CVE-2022-42889 is not currently on CISA's Known Exploited Vulnerabilities catalog. EchelonGraph's EG-KEV model places it in Tier 2 (Weaponized), which is not evidence of exploitation: a Metasploit module exists for it. EchelonGraph does not test whether exploit code works. FIRST EPSS estimates a 99.9% probability of exploitation in the next 30 days (99th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2022-42889?
CVE-2022-42889 has a CVSS v3 base score of 9.8 (NVD).
How do I remediate CVE-2022-42889?
A fix for CVE-2022-42889 is available: update to the fixed version the vendor names in its advisory. Fixed versions, as the CVE record's CNA (Apache Software Foundation) states them in the record's workaround: "Upgrade to Apache Commons Text 1.10.0." The vendor advisories EchelonGraph has for CVE-2022-42889 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-42889

Explore →

Is Your Infrastructure Affected by CVE-2022-42889?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.