CVE-2022-33980

Source
https://cve.org/CVERecord?id=CVE-2022-33980
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-33980.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-33980
Aliases
Downstream
Related
Published
2022-07-06T00:00:00Z
Modified
2026-06-18T03:55:54.191293919Z
Summary
Apache Commons Configuration insecure interpolation defaults
Details

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.

Database specific
{
    "cna_assigner": "apache",
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "introduced": "Apache Commons Configuration"
                },
                {
                    "fixed": "2.8.0"
                }
            ]
        },
        {
            "source": "DESCRIPTION",
            "extracted_events": [
                {
                    "fixed": "2.7"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/33xxx/CVE-2022-33980.json"
}
References

Affected packages

Git / github.com/apache/commons-configuration

Affected ranges

Type
GIT
Repo
https://github.com/apache/commons-configuration
Events
Database specific
{
    "cpe": "cpe:2.3:a:apache:commons_configuration:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "2.4"
        },
        {
            "fixed": "2.8"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-33980.json"