CVE-2018-8778
Advisory lineage Upstream: 0 Downstream: 18
Modified
Published: 03 Apr 2018, 22:00
Last modified:05 Aug 2024, 07:02
Vulnerability Summary
Overall Risk (default)
medium
30/100 CVSS Score
7.5 HIGH
v3.0 (nvd)
EPSS Score
0.54% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
03 Apr 2018, 22:00
Published
Vulnerability first disclosed
05 Aug 2024, 07:02
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.0•HIGH•Score: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS Trends
Current EPSS score: 0.54%• Percentile: 68%
Techniques & Countermeasures
- CWE-134•Use of Externally-Controlled Format String
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
Affected Systems
- canonical•ubuntu_linux
14.04 | 16.04 | 17.10
- debian•debian_linux
7.0 | 8.0 | 9.0
- redhat•enterprise_linux
6.0 | 7.0 | 7.4 | 7.5 | 7.6
- ruby-lang•ruby
≥ 2.2.0, < 2.2.10 | ≥ 2.3.0, < 2.3.7 | ≥ 2.4.0, < 2.4.4 | ≥ 2.5.0, < 2.5.1 | 2.6.0:preview1
References (17)
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/
- https://access.redhat.com/errata/RHSA-2018:3729
- https://usn.ubuntu.com/3626-1/
- http://www.securitytracker.com/id/1042004
- https://access.redhat.com/errata/RHSA-2018:3730
- https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html
- https://access.redhat.com/errata/RHSA-2018:3731
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/
- https://www.ruby-lang.org/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/
- https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/
- https://www.debian.org/security/2018/dsa-4259
- https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/
- https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html
- http://www.securityfocus.com/bid/103693
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
- https://access.redhat.com/errata/RHSA-2019:2028