CVE-2018-8778

ruby: Buffer under-read in String#unpack

Published Apr 3, 2018 CVSS 3.0 · 7.5 High EPSS 7.5% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

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
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00617}

epss

{'score': 0.00484}

Weaknesses
  • CWE-134

    Use of Externally-Controlled Format String

  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 7:02 AM
Reserved
Mar 19, 2018, 12:00 AM
Status
Modified
Published
Apr 3, 2018, 10:29 PM
Modified
Jun 17, 2026, 2:05 AM
Severity
Moderate
Public date
Mar 28, 2018, 12:00 AM