CVE-2018-8780

ruby: Unintentional directory traversal by poisoned NULL byte in Dir

Published Apr 3, 2018 CVSS 3.0 · 9.1 Critical EPSS 10.0% 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, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.

Remediation

No solution or workaround provided in the CVE record

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-20389 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, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.
Ubuntu USN Ubuntu USN USN-3626-1 Ruby vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.01475}

epss

{'score': 0.01214}