CVE-2017-18640 in the critical feed json
SnakeYAML Entity Expansion during load operation
published 2019-12-12 6 y ago modified 2026-06-17 4 mo ago also GHSA-rvwf-54qp-4r6v , EUVD-2021-1404
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 26.7%
- EPSS 26.7% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
The Alias feature in SnakeYAML before 1.26 allows entity expansion during a load operation, a related issue to CVE-2003-1564.
Patch / fix
- maven org.yaml:snakeyaml 1.26
- snakeyaml_project snakeyaml 1.26
- snakeyaml Debian 14, Debian 13, Debian 12 1.25+ds-3
debian advisories DEBIAN-CVE-2017-18640
- snakeyaml Ubuntu Pro 14.04 LTS 1.12-2ubuntu0.14.04.1~esm2
- snakeyaml Ubuntu Pro 16.04 LTS 1.12-2ubuntu0.16.04.1~esm2
- snakeyaml Ubuntu Pro 18.04 LTS 1.23-1+deb10u1ubuntu0.1~esm1
- snakeyaml Ubuntu Pro 20.04 LTS 1.25+ds-2ubuntu0.1+esm1
ubuntu advisories UBUNTU-CVE-2017-18640
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- prometheus-jmx-exporter RHEL 8 0.12.0-6.el8
red hat advisories RHSA-2020:4807
- snakeyaml Manager Server Module 4.1, Manager Server Module 4.0 1.28-12.3.1
- snakeyaml SLE Module for Development Tools 15 SP3, SLE Module for Development Tools 15 SP2, Manager Server Module 4.2 1.28-3.5.1
suse advisories SUSE-SU-2021:1979-1SUSE-SU-2021:1978-1SUSE-SU-2021:1876-1
- snakeyaml openSUSE Tumbleweed 1.28-2.2
- snakeyaml openSUSE Leap 15.3 1.28-3.5.1
- snakeyaml openSUSE Leap 15.2 1.28-lp152.2.3.1
opensuse advisories openSUSE-SU-2024:11391-1openSUSE-SU-2021:1876-1openSUSE-SU-2021:0855-1
- prometheus-jmx-exporter AlmaLinux 8 0.12.0-6.el8
almalinux advisories ALSA-2020:4807
- prometheus-jmx-exporter Rocky Linux 8 0.12.0-6.el8
rocky linux advisories RLSA-2020:4807
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-18640 updated cvss 7.6
snakeyaml: Billion laughs attack via alias feature
-
Red Hat Enterprise Linux 7 snakeyaml, snakeyaml-javadocaffected: no fix planned “Will not fix”
-
Red Hat Software Collections rh-maven35-snakeyaml, rh-java-common-snakeyaml, rh-maven35-snakeyaml-javadoc, rh-java-common-snakeyaml-javadocaffected: no fix planned “Out of support scope”
-
Red Hat AMQ Streams 1.8.0fixed: vendor fix RHSA-2021:3225
-
Red Hat build of Quarkus 1.3.4fixed: vendor fix RHSA-2020:2603
-
Red Hat Enterprise Linux AppStream (v. 8) prometheus-jmx-exporter 0.12.0-6.el8fixed: vendor fix RHSA-2020:4807
-
Red Hat Fuse 7.9fixed: vendor fix RHSA-2021:3140
-
Red Hat A-MQ Online prometheus-jmx-exporter Red Hat Single Sign-On 7 snakeyamlnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
26.72% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bitbucket.org https://bitbucket.org/asomov/snakeyaml/issues/377/allow-configuration-for-preventing-billion referenced PoC, tagged "exploit" by a source, unverified
- bitbucket.org https://bitbucket.org/snakeyaml/snakeyaml/issues/377 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.yaml:snakeyaml | <1.26 |
1.26 |
Classification
- Weakness
-
- CWE-776 Improper Restriction of Recursive Entity References in DTDs
References
-
bitbucket.org
/asomov/snakeyaml/commits/da11ddbd91c1f8392ea932b37fa48110fa54ed8c
web
-
oracle.com
/security-alerts/cpuApr2021.html
web, patch, third-party-advisory
-
bitbucket.org
/asomov/snakeyaml/issues/377/allow-configuration-for-preventing-billion
web, exploit, issue-tracking, patch, third-party-advisory
-
bitbucket.org
/snakeyaml/snakeyaml/issues/377
web, exploit, issue-tracking, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/CKN7VGIKTYBCAKYBRG55QHXAY5UDZ7HA/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PTVJC54XGX26UJVVYCXZ7D25X3R5T2G6/
vendor-advisory
-
security.gentoo.org
/glsa/202305-28
vendor-advisory, web
-
lists.apache.org
/thread.html/r8b57c57cffa01e418868a3c7535b987635ff1fb5ab534203bfa2d64a%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rb34d8d3269ad47a1400f5a1a2d8310e13a80b6576ebd7f512144198d%40%3Ccommon-dev.hadoop.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r8464b6ec951aace8c807bac9ea526d4f9e3116aa16d38be06f7c6524%40%3Ccommon-issues.hadoop.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r643ba53f002ae59068f9352fe1d82e1b6f375387ffb776f13efe8fda%40%3Ccommon-issues.hadoop.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r2b05744c0c2867daa5d1a96832965b7d6220328b0ead06c22a6e7854%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r6c91e52b3cc9f4e64afe0f34f20507143fd1f756d12681a56a9b38da%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r72a3588d62b2de1361dc9648f5d355385735e47f7ba49d089b0e680d%40%3Ccommon-issues.hadoop.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r1dfac8b6a7097bcb4979402bbb6e2f8c36d0d9001e3018717eb22b7e%40%3Cdev.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rb0e033d5ec8233360203431ad96580cf2ec56f47d9a425d894e279c2%40%3Cpr.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r2a5b84fdf59042dc398497e914b5bb1aed77328320b1438144ae1953%40%3Cdev.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r6d54c2da792c74cc14b9b7665ea89e144c9e238ed478d37fd56292e6%40%3Cdev.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r666f29a7d0e1f98fa1425ca01efcfa86e6e3856e01d300828aa7c6ea%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r154090b871cf96d985b90864442d84eb027c72c94bc3f0a5727ba2d1%40%3Ccommon-issues.hadoop.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r28c9009a48d52cf448f8b02cd823da0f8601d2dff4d66f387a35f1e0%40%3Cdev.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rb7b28ac741e32dd5edb2c22485d635275bead7290b056ee56baf8ce0%40%3Cdev.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/re791a854001ec1f79cd4f47328b270e7a1d9d7056debb8f16d962722%40%3Cdev.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rce5c93bba6e815fb62ad38e28ca1943b3019af1eddeb06507ad4e11a%40%3Ccommits.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r5510f0125ba409fc1cabd098ab8b457741e5fa314cbd0e61e4339422%40%3Cdev.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r2db207a2431a5e9e95e899858ab1f5eabd9bcc790a6ca7193ae07e94%40%3Cdev.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r1058e7646988394de6a3fd0857ea9b1ee0de14d7bb28fee5ff782457%40%3Ccommits.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/re851bbfbedd47c690b6e01942acb98ee08bd00df1a94910b905bc8cd%40%3Cdev.atlas.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r56805265475919252ba7fc10123f15b91097f3009bae86476624ca25%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rbaa1f513d903c89a08267c91d86811fa5bcc82e0596b6142c5cea7ea%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/reb1751562ee5146d3aca654a2df76a2c13d8036645ce69946f9c219e%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r1ffce2ed3017e9964f03ad2c539d69e49144fc8e9bf772d641612f98%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rc3211c71f7e0973a1825d1988a3921288c06cd9d793eae97ecd34948%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r55d807f31e64a080c54455897c20b1667ec792e5915132c7b7750533%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/recfe569f4f260328b0036f1c82b2956e864d519ab941a5e75d0d832d%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rf95bebee6dfcc55067cebe8482bd31e6f481d9f74ba8e03f860c3ec7%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r1703a402f30c8a2ee409f8c6f393e95a63f8c952cc9ee5bf9dd586dc%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r191ceadb1b883357384981848dfa5235cb02a90070c553afbaf9b3d9%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r20350031c60a77b45e0eded33e9b3e9cb0cbfc5e24e1c63bf264df12%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rd582c64f66c354240290072f340505f5d026ca944ec417226bb0272e%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rb5c33d0069c927fae16084f0605895b98d231d7c48527bcb822ac48c%40%3Ccommits.cassandra.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rcb4b61dbe2ed1c7a88781a9aff5a9e7342cc7ed026aec0418ee67596%40%3Ccommon-issues.hadoop.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/raebd2019b3da8c2f90f31e8b203b45353f78770ca93bfe5376f5532e%40%3Ccommon-issues.hadoop.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r4d7f37da1bc2df90a5a0f56eb7629b5ea131bfe11eeeb4b4c193f64a%40%3Ccommon-issues.hadoop.apache.org%3E
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2017-18640
advisory
-
lists.apache.org
/thread.html/rcb2a7037366c58bac6aec6ce3df843a11ef97ae4eb049f05f410eaa5@%3Ccommon-commits.hadoop.apache.org%3E
web
-
lists.apache.org
/thread.html/rc3211c71f7e0973a1825d1988a3921288c06cd9d793eae97ecd34948@%3Ccommits.cassandra.apache.org%3E
web
-
lists.apache.org
/thread.html/rbaa1f513d903c89a08267c91d86811fa5bcc82e0596b6142c5cea7ea@%3Ccommits.cassandra.apache.org%3E
web
-
lists.apache.org
/thread.html/rb7b28ac741e32dd5edb2c22485d635275bead7290b056ee56baf8ce0@%3Cdev.atlas.apache.org%3E
web
-
lists.apache.org
/thread.html/rb5c33d0069c927fae16084f0605895b98d231d7c48527bcb822ac48c@%3Ccommits.cassandra.apache.org%3E
web
-
lists.apache.org
/thread.html/rb34d8d3269ad47a1400f5a1a2d8310e13a80b6576ebd7f512144198d@%3Ccommon-dev.hadoop.apache.org%3E
web
-
lists.apache.org
/thread.html/rb0e033d5ec8233360203431ad96580cf2ec56f47d9a425d894e279c2@%3Cpr.cassandra.apache.org%3E
web
-
lists.apache.org
/thread.html/raebd2019b3da8c2f90f31e8b203b45353f78770ca93bfe5376f5532e@%3Ccommon-issues.hadoop.apache.org%3E
web
-
lists.apache.org
/thread.html/r900e020760c89f082df1c6e0d46320eba721e4e47bb9eb521e68cd95@%3Ccommits.servicecomb.apache.org%3E
web
-
lists.apache.org
/thread.html/r8b57c57cffa01e418868a3c7535b987635ff1fb5ab534203bfa2d64a@%3Ccommits.pulsar.apache.org%3E
web
-
lists.apache.org
/thread.html/r8464b6ec951aace8c807bac9ea526d4f9e3116aa16d38be06f7c6524@%3Ccommon-issues.hadoop.apache.org%3E
web
-
lists.apache.org
/thread.html/r7ce3de03facf7e7f3e24fc25d26d555818519dafdb20f29398a3414b@%3Cdev.phoenix.apache.org%3E
web
-
lists.apache.org
/thread.html/r72a3588d62b2de1361dc9648f5d355385735e47f7ba49d089b0e680d@%3Ccommon-issues.hadoop.apache.org%3E
web
-
lists.apache.org
/thread.html/r6d54c2da792c74cc14b9b7665ea89e144c9e238ed478d37fd56292e6@%3Cdev.atlas.apache.org%3E
web
-
lists.apache.org
/thread.html/r6c91e52b3cc9f4e64afe0f34f20507143fd1f756d12681a56a9b38da@%3Ccommits.pulsar.apache.org%3E
web
Sources
- CVE List CVE-2017-18640
- GitHub Advisory GHSA-rvwf-54qp-4r6v
- NVD CVE-2017-18640
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.