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

Published Jul 6, 2022
·
Updated

A flaw was found in Apache Commons Configuration's variable interpolation, which by default included several lookup actions that could permit script invocation on remote servers. This issue could allow an attacker to use one of these actions to send a request to execute arbitrary code on the server.

Other sources

Apache Commons Configuration 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.configuration2.interpol.Lookup that performs the interpolation. Starting with version 2.4 and continuing through 2.7, 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 Configuration 2.8.0, which disables the problematic interpolators by default.

Affected Software

6 affected componentsFixes available
redhat/candlepin<0:4.2.13-1.el8
0:4.2.13-1.el8
debian/commons-configuration2
2.2-1+deb10u12.8.0-1~deb11u12.8.0-2
redhat/commons-configuration<2.8.0
2.8.0
Apache Commons Configuration>=2.4<2.8
NetApp Snapcenter
Debian Debian Linux=11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/candlepin to a version that resolves this vulnerability.

    Fixed in 0:4.2.13-1.el8
  2. Upgrade

    Upgrade debian/commons-configuration2 to a version that resolves this vulnerability.

    Fixed in 2.2-1+deb10u1Fixed in 2.8.0-1~deb11u1Fixed in 2.8.0-2
  3. Upgrade

    Upgrade redhat/commons-configuration to a version that resolves this vulnerability.

    Fixed in 2.8.0
  4. Upgrade

    Upgrade Apache Commons Configuration to a version that resolves this vulnerability.

    Fixed in 2.8.0
  5. Upgrade

    Upgrade Apache Commons Text to a version that resolves this vulnerability.

    Fixed in 1.10.0

Event History

Jul 6, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jul 7, 2022
Data Sourced
via Red Hat·08:11 PM
DescriptionSeverityAffected Software
Jul 15, 2022
Data Sourced
10:33 AM
SeverityAffected Software
Oct 28, 2022
Advisory Published
via FortiGuard·12:00 AM
Data Sourced
via FortiGuard·12:00 AM
DescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

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 the vulnerability ID?

The vulnerability ID is CVE-2022-33980.

2

What is the severity of CVE-2022-33980?

The severity of CVE-2022-33980 is critical with a severity score of 9.8.

3

What software is affected by CVE-2022-33980?

Apache Commons Configuration 2.8.0, Candlepin 0:4.2.13-1.el8, and certain versions of Debian Commons Configuration 2 are affected by CVE-2022-33980.

4

What is the remediation for CVE-2022-33980?

Apply the latest security patches provided by the respective vendors to upgrade Apache Commons Configuration, Candlepin, or Debian Commons Configuration to the fixed versions.

5

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

You can find more information about CVE-2022-33980 in the references provided: [Apache mailing list](https://lists.apache.org/thread/tdf5n7j80lfxdhs2764vn0xmpfodm87s), [Red Hat Security Advisory RHSA-2022:6916](https://access.redhat.com/errata/RHSA-2022:6916), [Red Hat Security Advisory RHSA-2022:8652](https://access.redhat.com/errata/RHSA-2022:8652).

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