The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-33980

CVE-2022-33980: Apache Commons Configuration RCE Flaw

CVE-2022-33980 is a remote code execution vulnerability in Apache Commons Configuration versions 2.4 through 2.7. Unsafe interpolators enable arbitrary code execution through untrusted configuration values. This article covers the technical details, affected versions, impact, and mitigation strategies.

Published: February 11, 2026

CVE-2022-33980 Overview

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.

The problematic 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.

Critical Impact

This vulnerability allows attackers to achieve remote code execution through malicious variable interpolation in configuration values, potentially leading to complete system compromise.

Affected Products

  • Apache Commons Configuration (versions 2.4 through 2.7)
  • NetApp SnapCenter
  • Debian Linux 11.0

Discovery Timeline

  • 2022-07-06 - CVE-2022-33980 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-33980

Vulnerability Analysis

This vulnerability is a Code Injection flaw that exploits the variable interpolation feature in Apache Commons Configuration. The library's design allows configuration values to contain dynamic expressions that are evaluated at runtime using the ${prefix:name} syntax. The critical issue is that certain default Lookup implementations enable dangerous operations including script execution, DNS lookups, and URL fetching.

When an application processes untrusted configuration input, an attacker can craft malicious interpolation strings that leverage these lookups to execute arbitrary code on the server. The script lookup is particularly dangerous as it provides direct access to the JVM script execution engine via javax.script, enabling execution of arbitrary Java or JavaScript code within the application's security context.

Root Cause

The root cause is the inclusion of dangerous Lookup implementations in the default set of interpolators. The script, dns, and url lookups provide powerful capabilities that were enabled by default without considering the security implications when processing untrusted input. This design flaw follows a similar pattern to the widely publicized Log4Shell vulnerability (CVE-2021-44228), where JNDI lookup functionality enabled similar attack vectors.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker who can influence configuration values processed by a vulnerable application can inject malicious interpolation expressions. For example, injecting a value like ${script:javascript:java.lang.Runtime.getRuntime().exec('malicious_command')} could trigger command execution when the configuration is processed.

The vulnerability can manifest in several scenarios:

  • Configuration files that accept user-controlled values
  • API endpoints that process configuration parameters
  • Database-stored configurations with user-modifiable fields

The attack could result in remote code execution via the script lookup, exfiltration of sensitive data via the dns lookup (DNS exfiltration), or server-side request forgery via the url lookup.

Detection Methods for CVE-2022-33980

Indicators of Compromise

  • Unusual outbound DNS queries containing encoded data or unexpected subdomains
  • Log entries containing ${script:, ${dns:, or ${url: patterns in configuration-related contexts
  • Unexpected outbound HTTP/HTTPS connections from application servers to unknown destinations
  • Java process spawning child processes or executing shell commands unexpectedly

Detection Strategies

  • Implement application-level logging to capture configuration value processing and flag suspicious interpolation patterns
  • Deploy network monitoring to detect anomalous DNS queries or outbound connections from application servers
  • Use Web Application Firewalls (WAF) to filter input containing known malicious interpolation patterns like ${script:, ${dns:, and ${url:
  • Conduct dependency scanning to identify applications using vulnerable versions of Apache Commons Configuration (2.4-2.7)

Monitoring Recommendations

  • Monitor Java application logs for exceptions related to script execution or interpolation failures
  • Set up alerts for unusual network traffic patterns from Java application servers
  • Implement file integrity monitoring on configuration files to detect unauthorized modifications
  • Establish baseline metrics for DNS query volume and alert on significant deviations

How to Mitigate CVE-2022-33980

Immediate Actions Required

  • Upgrade Apache Commons Configuration to version 2.8.0 or later, which disables the problematic interpolators by default
  • Audit all applications in your environment for usage of vulnerable Apache Commons Configuration versions
  • Review configuration input sources to identify where untrusted data may be processed
  • Implement input validation to reject configuration values containing interpolation patterns if untrusted input is unavoidable

Patch Information

Users are recommended to upgrade to Apache Commons Configuration 2.8.0, which disables the problematic interpolators (script, dns, url) by default. The fix addresses the vulnerability by removing these dangerous lookups from the default interpolator set while still allowing explicit opt-in for applications that require them.

For detailed patch information, refer to the Apache Security Mailing List Discussion. Additional advisories are available from NetApp Security Advisory NTAP-20221028-0015 and Debian Security Advisory DSA-5290.

Workarounds

  • If immediate upgrade is not possible, explicitly configure the ConfigurationInterpolator to exclude the dangerous lookups (script, dns, url)
  • Implement strict input validation on all configuration sources to reject values containing the ${ pattern
  • Deploy network-level controls to restrict outbound connections from application servers
  • Consider running Java applications with a SecurityManager policy that restricts script execution and network access
bash
# Example: Update Maven dependency to patched version
# In pom.xml, update the dependency:
# <dependency>
#     <groupId>org.apache.commons</groupId>
#     <artifactId>commons-configuration2</artifactId>
#     <version>2.8.0</version>
# </dependency>

# Verify current version in your project
mvn dependency:tree | grep commons-configuration

# Force update to patched version
mvn versions:use-latest-versions -Dincludes=org.apache.commons:commons-configuration2

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechApache Commons Configuration

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability86.66%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • OpenWall OSS Security Announcement

  • OpenWall OSS Security Update

  • NetApp Security Advisory NTAP-20221028-0015

  • Debian Security Advisory DSA-5290
  • Vendor Resources
  • Apache Security Mailing List Discussion
  • Related CVEs
  • CVE-2024-29131: Apache Commons Configuration Overflow Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English