← Vulnerability feed

Vulnerability record · CVE-2022-33980 · published 6 July 2022

CVE-2022-33980: Apache Commons Configuration default interpolators allow code execution

Apache · Commons Configuration

Apache Commons Configuration versions 2.4 through 2.7 ship default Lookup interpolators (script, dns, url) that are enabled out of the box. When an application interpolates untrusted configuration values, the script lookup can execute arbitrary code via the JVM script engine, and the dns and url lookups can trigger outbound requests. The flaw matters because interpolation is a normal, expected feature, so exposure depends on whether any attacker-influenced value reaches it.

9.8 CVSS 3.1 Critical EPSS 46% · top 1.2%
9.8CVSS 3.1 base score, v2 7.5
46%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
10References
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: medium.

high priorityCritical CVSS (9.8) with no authentication or interaction required and a high EPSS percentile, though no confirmed in-the-wild exploitation or KEV listing.

What it is

Apache Commons Configuration versions 2.4 through 2.7 ship default Lookup interpolators (script, dns, url) that are enabled out of the box. When an application interpolates untrusted configuration values, the script lookup can execute arbitrary code via the JVM script engine, and the dns and url lookups can trigger outbound requests. The flaw matters because interpolation is a normal, expected feature, so exposure depends on whether any attacker-influenced value reaches it.

Impact

An attacker who controls an interpolated configuration value can achieve remote code execution in the application's JVM, or force the server to resolve DNS names and fetch remote URLs, enabling data exfiltration and SSRF-style access to internal services.

Attack surface

Reached over the network through any application path that feeds untrusted input into Commons Configuration interpolation; the CVSS vector indicates no authentication and no user interaction are required. The record does not identify which specific endpoints or products expose that path.

Exploitation

Not listed in CISA KEV and no ransomware usage is documented, but EPSS is high at roughly 0.45 (98.7th percentile), and references are advisory and mailing-list entries only, with no public exploit tag.

What to do

  • Upgrade Apache Commons Configuration to 2.8.0 or later, which disables the script, dns and url interpolators by default.
  • If upgrade is not immediately possible, remove or disable the script, dns and url Lookup instances from the interpolator configuration.
  • Audit application code and configuration for places where untrusted input reaches variable interpolation, and validate or reject ${...} patterns in that input.
  • Track vendor advisories for NetApp SnapCenter and Debian packages that bundle the affected library and apply their updates.
  • Restrict outbound network access from application servers to limit the impact of the dns and url lookups.

Detection

  • Search application and dependency inventories for commons-configuration2 versions 2.4 through 2.7.
  • Monitor application logs and process behavior for JVM script engine invocation or unexpected script evaluation triggered by configuration parsing.
  • Alert on outbound DNS and HTTP requests originating from application servers that correlate with configuration or input processing.
  • Review configuration sources and request parameters for literal ${script:, ${dns: or ${url: patterns.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2022-33980 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2022-33980), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.