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.

Project Subscriptions

Vendors Products
Canonical Subscribe
Ubuntu Linux Subscribe
Debian Linux Subscribe
Enterprise Linux Subscribe
Rhel Aus Subscribe
Rhel E4s Subscribe
Rhel Eus Subscribe
Rhel Software Collections Subscribe
Rhel Tus Subscribe
Ruby-lang Subscribe
Advisories
Source ID Title
Debian DLA Debian DLA DLA-1358-1 ruby1.9.1 security update
Debian DLA Debian DLA DLA-1359-1 ruby1.8 security update
Debian DLA Debian DLA DLA-1421-1 ruby2.1 security update
Debian DSA Debian DSA DSA-4259-1 ruby2.3 security update
EUVD EUVD EUVD-2018-20387 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.
Ubuntu USN Ubuntu USN USN-3626-1 Ruby vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00617}

epss

{'score': 0.00484}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T07:02:26.126Z

Reserved: 2018-03-19T00:00:00.000Z

Link: CVE-2018-8778

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-04-03T22:29:00.773

Modified: 2024-11-21T04:14:17.550

Link: CVE-2018-8778

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-03-28T00:00:00Z

Links: CVE-2018-8778 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses