Vulnerability in Ruby-Lang Ruby
CVE-2018-8778
In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, an attacker controlling the unpacking format (similar to format string vulnerabilities) can trigger a buffer under-read in the String#unpack method, resulting in a massive and controlled information disclosure.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.075, 94.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Ruby — versions 2.6.0
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 7.0, 8.0, 9.0
- Red Hat Enterprise Linux — versions 6.0, 7.0, 7.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, lnick2023/nicenice, qazbnm456/awesome-cve-poc, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/ (Patch, Vendor Advisory)
- RHSA-2018:3729 (vendor-advisory, Third Party Advisory)
- USN-3626-1 (vendor-advisory, Third Party Advisory)
- www.securitytracker.com/id/1042004 (Third Party Advisory, VDB Entry, vdb-entry)
- RHSA-2018:3730 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20180423 [SECURITY] [DLA 1358-1] ruby1.9.1 security update (mailing-list, Mailing List, Third Party Advisory)
- RHSA-2018:3731 (vendor-advisory, Third Party Advisory)
- www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/ (Patch, Vendor Advisory)
- www.ruby-lang.org/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/ (Vendor Advisory)
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update (mailing-list, Mailing List, Third Party Advisory)