10.0critical
Remote code execution in Apache Commons Configuration
- Severity
- 10.0critical CVSS:3.1 by NVD
- Exploit likelihood
- 5.80% (higher than 93% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-7qx4-pp76-vrqh
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Apache Commons Configuration | 2.2, 2.3, 2.4, 2.5, 2.6 | CVE List |
| org.apache.commons:commons-configuration2 (Maven) | from 2.2 before 2.7 | GitHub Advisory Database |
| apache commons_configuration | 2.2, 2.3, 2.4, 2.5, 2.6 | NVD |
| oracle database_server | 11.2.0.4, 12.1.0.2, 12.2.0.1, 18c, 19c | NVD |
| oracle healthcare_foundation | 7.1.1, 7.2.0, 7.2.1, 7.3.0 | NVD |
All scores
| GitHub | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Apache Commons Configuration usa una biblioteca de terceros para analizar archivos YAML, la cual por defecto permite la instanciación de clases si el YAML incluye sentencias especiales. Apache Commons Configuration versiones 2.2, 2.3, 2.4, 2.5, 2.6 no cambió la configuración predeterminada de esta biblioteca. Por lo tanto, si un archivo YAML se cargaba desde una fuente no confiable, podía por lo tanto cargar y ejecutar código fuera del control de la aplicación host.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-1953 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7qx4-pp76-vrqh changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2020-1953 changed 2026-06-17 | Public domain |