CVE-2018-8780

N/A
Published: April 3, 2018 at 10:00 PM UTC
Updated: June 17, 2026 at 02:05 AM UTC
3 products affected across 3 vendorsDebian LinuxUbuntu LinuxRuby

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 10%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%
v < 2.2.102.3.0 ≤ v < 2.3.72.4.0 ≤ v < 2.4.42.5.0 ≤ v < 2.5.12.6.0 preview1
Affected range stops below 2.2.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.3.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.4.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.5.1, so it looks safe — our inference, not a vendor statement

References (20)

VDB Entryx_refsource_BIDThird Party Advisory
http://www.securityfocus.com/bid/103739
VDB Entryx_refsource_SECTRACKThird Party Advisory
http://www.securitytracker.com/id/1042004
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:3729
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:3730
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:3731

CVSS

Confidentiality
PARTIAL
Integrity
PARTIAL
Availability
PARTIAL
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card