CVE-2017-18640 SnakeYAML Entity Expansion during load operation
Attackers can cause denial of service in applications using SnakeYAML by exploiting entity expansion during load operations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-18640?
CVE-2017-18640 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 12 Dec 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Alias feature in SnakeYAML before 1.26 allows entity expansion during a load operation, a related issue to CVE-2003-1564.
Weakness: CWE-776
Which versions are affected by CVE-2017-18640?
2 open source packages ship an affected version, including org.yaml:snakeyaml. It affects 4 products.
| Package | Affected | Fixed in |
|---|---|---|
org.yaml:snakeyaml Maven | All versions | 1.26 |
org.yaml:snakeyaml Maven | All versions | 1.26 |
Linux distribution packages (11)
prometheus-jmx-exporter AlmaLinux:8 | All versions | 0.12.0-6.el8 |
prometheus-jmx-exporter Red Hat:enterprise_linux:8::appstream | All versions | 0:0.12.0-6.el8 |
prometheus-jmx-exporter Rocky Linux:8 | All versions | 0:0.12.0-6.el8 |
snakeyaml SUSE:Linux Enterprise Module for Development Tools 15 SP2 | All versions | 1.28-3.5.1 |
snakeyaml SUSE:Linux Enterprise Module for Development Tools 15 SP3 | All versions | 1.28-3.5.1 |
snakeyaml SUSE:Manager Server Module 4.0 | All versions | 1.28-12.3.1 |
snakeyaml SUSE:Manager Server Module 4.1 | All versions | 1.28-12.3.1 |
snakeyaml SUSE:Manager Server Module 4.2 | All versions | 1.28-3.5.1 |
snakeyaml openSUSE:Leap 15.2 | All versions | 1.28-lp152.2.3.1 |
snakeyaml openSUSE:Leap 15.3 | All versions | 1.28-3.5.1 |
snakeyaml openSUSE:Tumbleweed | All versions | 1.28-2.2 |
Products include Fedoraproject Fedora, Oracle Peoplesoft Enterprise Pt Peopletools, Quarkus Quarkus, Snakeyaml Project Snakeyaml.
How do I fix CVE-2017-18640?
Upgrade org.yaml:snakeyaml to 1.26 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2017-18640 being exploited?
There is no known exploitation of CVE-2017-18640 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALSA-2020:4807, CLEANSTART-2026-CU41868, DEBIAN-CVE-2017-18640, GHSA-rvwf-54qp-4r6v, RHSA-2020:4807, RLSA-2020:4807 and 9 more.