CVE-2020-1953
Remote code execution in Apache Commons Configuration
Reported by apache · Published March 13, 2020
commons-configuration2 is fixed in 2.6 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.commons:commons-configuration2 | Maven Central | 2.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache | Apache Commons Configuration | 2.2, 2.3, 2.4 |
| Apache | Apache Commons Configuration | 2.2, 2.3, 2.4 |
| Maven | org.apache.commons:commons-configuration2 | 2.2 |
Timeline
- Mar 13, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory
- Sep 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-1953
vulnetix vdb fixes CVE-2020-1953
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-1953/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [camel-commits] 20200313 [camel] branch camel-3.1.x updated: Update Commons Configuration 2 due to CVE-2020-1953 mailing-listx_refsource_MLIST
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-1953 advisory
- https://lists.apache.org/thread.html/rde2186ad6ac0d6ed8d51af7509244adcf1ce0f9a3b7e1d1dd3b64676@%3Ccommits.camel.apache.org%3E url