CVE-2020-1953

apache-commons-configuration: uncontrolled class instantiation when loading YAML files

Published Mar 13, 2020 CVSS 3.1 · 10.0 Critical EPSS 6.3% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-0415 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.
Github GHSA Github GHSA GHSA-7qx4-pp76-vrqh Remote code execution in Apache Commons Configuration
History
Type Values Removed Values Added
Metrics epss

{'score': 0.03248}

epss

{'score': 0.02732}

Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 4, 2024, 6:53 AM
Reserved
Dec 2, 2019, 12:00 AM
Status
Modified
Published
Mar 13, 2020, 3:15 PM
Modified
Jun 17, 2026, 3:02 AM
Severity
Important
Public date
Mar 13, 2020, 12:00 AM