CVE-2020-1953
apache-commons-configuration: uncontrolled class instantiation when loading YAML files
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 13, 2020
Updated · October 12, 2026
Description
A flaw was found in the Apache Commons Configuration, where it uses a third-party library to process 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. If a YAML file was loaded from an untrusted source, it could load and execute code out of the control of the host application.
Statement
Several packages are unaffected because they do not include support for YAML configurations:
apache-commons-configurationas shipped with Red Hat Enterprise Linux 7apache-commons-configurationas shipped with Red Hat Enterprise Virtualizationrh-maven35-apache-commons-configurationas shipped with Red Hat Software Collectionscommons-configurationas shipped with Red Hat Gluster Storage
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
There is currently no mitigation available for this vulnerability.
CVSS / CWE
CVSS 3.1 · 9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CWE-20 · Improper Input Validation