Information disclosure vulnerability in Ruby String#unpack
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 7.529%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Red Hat | Red Hat Enterprise Linux 5 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 6 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Client (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Client Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) | Affected versions:Source does not specify a version range |
1–10 of 64 · Page 1 of 7
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCVE-2018-8778 · OSV (source-vector)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NRed Hat · Red Hat VEX (adp)4.8 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- Low
- Integrity
- None
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:LSUSE · SUSE VEX (adp)6.5 / 10MediumCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories23
- CVE List / CNA
- NVD
- OSV
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- debian.org
- securityfocus.com
- lists.opensuse.org
- securitytracker.com
- access.redhat.com
- ruby-lang.org
- ruby-lang.org
- ruby-lang.org
- lists.debian.org
- ruby-lang.org
- ruby-lang.org
- lists.debian.org
- access.redhat.com
- access.redhat.com
- usn.ubuntu.com
- access.redhat.com
- lists.debian.org
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences