CVE-2017-14064
highpriority · track · 42EPSS 0.094 · 95 %ileDEEURUUSEPSS · scored 2026-10-27
Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using strdup in ext/json/ext/generator/generator.c, which will stop after encountering a '\0' byte, returning a pointer to a string of length zero, which is not the length stored in space_len.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (39)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1420Ruby: Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2017-08-31csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann eine Schwachstelle in Ruby ausnutzen, um Informationen offenzulegen.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (49)
External citations — patches, advisories, analysis.
- http://www.securityfocus.com/bid/100890cnnvd
- http://www.securitytracker.com/id/1039363cnnvd
- http://www.securitytracker.com/id/1042004cnnvd
- https://access.redhat.com/errata/RHSA-2017:3485cnnvd
- https://access.redhat.com/errata/RHSA-2018:0378cnnvd
- https://access.redhat.com/errata/RHSA-2018:0583cnnvd
- https://access.redhat.com/errata/RHSA-2018:0585cnnvd
- https://bugs.ruby-lang.org/issues/13853cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan