CVE-2018-8778
At a glance Severity Not available EPSS EPSS 7.53 % · percentile 94 (2026-10-27) State PUBLISHED Published 2018-04-03 Updated 2024-08-05 Assigner mitre NVD status Modified
Description 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.
Scores Version Score Vector Scored by CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N NVD · nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N NVD · nvd@nist.gov (Primary)
Weaknesses (CWE)
European references
CERT-FR advisories
Affected configurations (NVD CPE) cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ≥ 2.2.0 < 2.2.10cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ≥ 2.3.0 < 2.3.7cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ≥ 2.4.0 < 2.4.4cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ≥ 2.5.0 < 2.5.1cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:*cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:*cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:*
Affected products Product Versions affected n/a
References
Sources