CVE-2018-8778
Ruby String#unpack Buffer Under-read Information Disclosure
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.
INFO
Published Date :
April 3, 2018, 10:29 p.m.
Last Modified :
Oct. 3, 2019, 12:03 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2018-8778 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2018-8778
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-8778
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Map Vulnerabilities into Different Layers of the Container Image
Python
None
✍️ A curated list of CVE PoCs.
awesome cve poc
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-8778
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-8778
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Oct. 03, 2019
Action Type Old Value New Value Changed CWE CWE-200 CWE-134 CWE-134 -
CVE Modified by [email protected]
Aug. 06, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:2028 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 21, 2019
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html [No Types Assigned] -
CPE Deprecation Remap by [email protected]
Apr. 22, 2019
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:6:*:*:*:*:*:*:* OR *cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* -
Modified Analysis by [email protected]
Feb. 28, 2019
Action Type Old Value New Value Changed Reference Type https://access.redhat.com/errata/RHSA-2018:3729 No Types Assigned https://access.redhat.com/errata/RHSA-2018:3729 Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2018/dsa-4259 No Types Assigned https://www.debian.org/security/2018/dsa-4259 Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html Third Party Advisory https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html Mailing List, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html Third Party Advisory https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html Mailing List, Third Party Advisory Changed Reference Type http://www.securitytracker.com/id/1042004 No Types Assigned http://www.securitytracker.com/id/1042004 Third Party Advisory, VDB Entry Changed Reference Type https://access.redhat.com/errata/RHSA-2018:3731 No Types Assigned https://access.redhat.com/errata/RHSA-2018:3731 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:3730 No Types Assigned https://access.redhat.com/errata/RHSA-2018:3730 Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* OR *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:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:6:*:*:*:*:*:*:* *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:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 30, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:3731 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:3730 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:3729 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 31, 2018
Action Type Old Value New Value Added Reference http://www.securitytracker.com/id/1042004 [No Types Assigned] -
CVE Modified by [email protected]
Aug. 03, 2018
Action Type Old Value New Value Added Reference https://www.debian.org/security/2018/dsa-4259 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 15, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html [No Types Assigned] -
Initial Analysis by [email protected]
May. 15, 2018
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/ No Types Assigned https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-4-4-released/ Patch, Vendor Advisory Changed Reference Type https://usn.ubuntu.com/3626-1/ No Types Assigned https://usn.ubuntu.com/3626-1/ Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/103693 No Types Assigned http://www.securityfocus.com/bid/103693 Third Party Advisory, VDB Entry Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html Third Party Advisory Changed Reference Type https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/ No Types Assigned https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-2-10-released/ Patch, Vendor Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html Third Party Advisory Changed Reference Type https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/ No Types Assigned https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-3-7-released/ Patch, Vendor Advisory Changed Reference Type https://www.ruby-lang.org/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/ No Types Assigned https://www.ruby-lang.org/en/news/2018/03/28/buffer-under-read-unpack-cve-2018-8778/ Vendor Advisory Changed Reference Type https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/ No Types Assigned https://www.ruby-lang.org/en/news/2018/03/28/ruby-2-5-1-released/ Patch, Vendor Advisory Added CWE CWE-200 Added CPE Configuration OR *cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 2.2.0 up to (excluding) 2.2.10 *cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 2.3.0 up to (excluding) 2.3.7 *cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 2.4.0 up to (excluding) 2.4.4 *cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 2.5.0 up to (excluding) 2.5.1 *cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:* Added CPE Configuration OR *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:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Apr. 25, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/04/msg00024.html [No Types Assigned] Added Reference https://lists.debian.org/debian-lts-announce/2018/04/msg00023.html [No Types Assigned] -
CVE Modified by [email protected]
Apr. 18, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3626-1/ [No Types Assigned] -
CVE Modified by [email protected]
Apr. 11, 2018
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/103693 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-8778
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-8778
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.42 }} 0.01%
score
0.74437
percentile