GHSA-7qx4-pp76-vrqh

Suggest an improvement
Source
https://github.com/advisories/GHSA-7qx4-pp76-vrqh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-7qx4-pp76-vrqh/GHSA-7qx4-pp76-vrqh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7qx4-pp76-vrqh
Aliases
Published
2020-05-21T19:08:08Z
Modified
2023-11-08T04:02:46.926629Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Remote code execution in Apache Commons Configuration
Details

Apache Commons Configuration uses a third-party library to parse YAML files which by default allows the instantiation of classes if the YAML includes special statements. Apache Commons Configuration versions 2.2, 2.3, 2.4, 2.5, 2.6 did not change the default settings of this library. So if a YAML file was loaded from an untrusted source, it could therefore load and execute code out of the control of the host application.

Database specific
{
    "nvd_published_at": "2020-03-13T15:15:00Z",
    "github_reviewed_at": "2020-05-21T17:12:19Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-20"
    ]
}
References

Affected packages

Maven / org.apache.commons:commons-configuration2

Package

Name
org.apache.commons:commons-configuration2
View open source insights on deps.dev
Purl
pkg:maven/org.apache.commons/commons-configuration2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.2
Fixed
2.7

Affected versions

2.*

2.2
2.3
2.4
2.5
2.6