CVE-2022-42889: Apache commons_text(CVE-2022-42889) and commons_configuration (CVE-2022-33980) vulnerability

Published Oct 13, 2022
·
Updated

A flaw was found in Apache Commons Text packages 1.5 through 1.9. The affected versions allow an attacker to benefit from a variable interpolation process contained in Apache Commons Text, which can cause properties to be dynamically defined. Server applications are vulnerable to remote code execution (RCE) and unintentional contact with untrusted remote servers.

Affected Software

37 affected componentsFixes available
redhat/jenkins<2-plugins-0:4.11.1683009941-1.el8
2-plugins-0:4.11.1683009941-1.el8
redhat/jenkins<2-plugins-0:4.12.1683009955-1.el8
2-plugins-0:4.12.1683009955-1.el8
redhat/jenkins<2-plugins-0:4.13.1684911916-1.el8
2-plugins-0:4.13.1684911916-1.el8
redhat/jenkins<2-plugins-0:4.10.1680703106-1.el8
2-plugins-0:4.10.1680703106-1.el8
redhat/jenkins<2-plugins-0:4.9.1680069756-1.el8
2-plugins-0:4.9.1680069756-1.el8
redhat/candlepin<0:4.1.18-1.el8
0:4.1.18-1.el8
redhat/candlepin<0:4.2.13-1.el8
0:4.2.13-1.el8
maven/com.guicedee.services:commons-text<=1.2.2.1-jre17
maven/org.apache.commons:commons-text>=1.5<1.10.0
1.10.0
Apache Commons Text>=1.5<1.10.0
NetApp Bluexp
All of the following
Any of the following
Juniper Security Threat Response Manager<7.5.0
Juniper Security Threat Response Manager=7.5.0
Juniper Security Threat Response Manager=7.5.0-up1
Juniper Security Threat Response Manager=7.5.0-up2
Juniper Security Threat Response Manager=7.5.0-up3
Any of the following
Juniper Jsa1500
Juniper Jsa3500
Juniper Jsa3800
Juniper Jsa5500
Juniper Jsa5800
Juniper Jsa7500
Juniper Jsa7800
Juniper Security Threat Response Manager<7.5.0
Juniper Security Threat Response Manager=7.5.0
Juniper Security Threat Response Manager=7.5.0-up1
Juniper Security Threat Response Manager=7.5.0-up2
Juniper Security Threat Response Manager=7.5.0-up3
Juniper Jsa1500
Juniper Jsa3500
Juniper Jsa3800
Juniper Jsa5500
Juniper Jsa5800
Juniper Jsa7500
Juniper Jsa7800
redhat/commons-text<1.10.0
1.10.0
IBM watsonx.data intelligence<=5.2.0, 5.2.1, 5.3.0, 5.3.1

Remediation

Information

This flaw may be avoided by ensuring that any external inputs used with the Commons-Text lookup methods are sanitized properly. Untrusted input should always be thoroughly sanitized before using in any potentially risky situations.

Event History

Oct 13, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Advisory Published
via GitHub·07:00 PM
Oct 17, 2022
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
Description
Data Sourced
via Red Hat·04:23 PM
DescriptionSeverityAffected Software
Oct 28, 2022
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software
Apr 18, 2025
Exploit Published
12:00 AM
Known Exploited
01:52 PM
Apr 27, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2022-42889?

CVE-2022-42889 is a vulnerability in Apache Commons Text that could allow a remote attacker to execute arbitrary code on the system.

2

What is the severity of CVE-2022-42889?

CVE-2022-42889 has a severity keyword of 'critical' and a severity value of 9.8.

3

How does CVE-2022-42889 affect Apache Commons Text?

CVE-2022-42889 affects Apache Commons Text by allowing properties to be dynamically evaluated and expanded, which can be exploited by an attacker to execute arbitrary code on the system.

4

How can I fix CVE-2022-42889 in Apache Commons Text?

To fix CVE-2022-42889 in Apache Commons Text, update to version 1.10.0 or later.

5

Where can I find more information about CVE-2022-42889?

You can find more information about CVE-2022-42889 on the GitHub page and the Red Hat security advisories linked in the references.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203