Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-1953
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:05 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-1953
Complete source record
{
"id": "e0c8652cf09c5630a9e8c1e63f676a658fc912f8f5aca5f24be34ec5512bee71",
"url": "https://osv.dev/vulnerability/CVE-2020-1953",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-1953",
"summary": "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.",
"evidence": "osv:CVE-2020-1953",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2020-1953",
"aliases": [
"CVE-2020-1953",
"GHSA-7qx4-pp76-vrqh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/commons-configuration",
"type": "GIT",
"events": [
{
"introduced": "137997974e0ebd3acd047243f46ddf3b90fa0160"
},
{
"last_affected": "32d6be96f6b101dfd18d21d79788980ee08e5965"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:commons_configuration:2.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.2"
},
{
"last_affected": "2.2"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:commons_configuration:2.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.3"
},
{
"last_affected": "2.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:commons_configuration:2.4:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.4"
},
{
"last_affected": "2.4"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:commons_configuration:2.5:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5"
},
{
"last_affected": "2.5"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:commons_configuration:2.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.6"
},
{
"last_affected": "2.6"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.2",
"2.3",
"2.4",
"2.5",
"2.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1953.json"
}
}
],
"modified": "2026-10-24T10:30:48.518783145Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/d0e00f2e147a9e9b13a6829133092f349b2882bf6860397368a52600%40%3Cannounce.tomcat.apache.org%3E",
"https://lists.apache.org/thread.html/r16a2e949e35780c8974cf66104e812410f3904f752df6b66bf292269%40%3Ccommits.servicecomb.apache.org%3E",
"https://lists.apache.org/thread.html/rde2186ad6ac0d6ed8d51af7509244adcf1ce0f9a3b7e1d1dd3b64676%40%3Ccommits.camel.apache.org%3E",
"https://www.oracle.com/security-alerts/cpuoct2020.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:oracle:database_server:11.2.0.4:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:database_server:12.1.0.2:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:database_server:12.2.0.1:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:database_server:18c:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:database_server:19c:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:database_server",
"extracted_events": [
{
"range": [
{
"introduced": "11.2.0.4"
},
{
"last_affected": "11.2.0.4"
},
{
"introduced": "12.1.0.2"
},
{
"last_affected": "12.1.0.2"
},
{
"introduced": "12.2.0.1"
},
{
"last_affected": "12.2.0.1"
},
{
"introduced": "18c"
},
{
"last_affected": "18c"
},
{
"introduced": "19c"
},
{
"last_affected": "19c"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:healthcare_foundation:7.1.1:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:healthcare_foundation:7.2.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:healthcare_foundation:7.2.1:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:healthcare_foundation:7.3.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:healthcare_foundation",
"extracted_events": [
{
"range": [
{
"introduced": "7.1.1"
},
{
"last_affected": "7.1.1"
},
{
"introduced": "7.2.0"
},
{
"last_affected": "7.2.0"
},
{
"introduced": "7.2.1"
},
{
"last_affected": "7.2.1"
},
{
"introduced": "7.3.0"
},
{
"last_affected": "7.3.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-1953",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 436786,
"published_at": "2020-03-13T15:15:11.373+00:00"
}