CVE-2018-8780
Ruby Dir.open, Dir.new, Dir.entries and Dir.empty? do not check NULL characters
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, 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.
Source description · CVE List / CNA
System impact
Attack complexityLow
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
CVSS summary v3.0
9.1Critical
- Published:
- Updated:
- EPSS:
- 9.982%
- 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 | CloudForms Management Engine 5 | Affected versions:Source does not specify a version range |
| 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 |
1–10 of 33 · Page 1 of 4
CVSS scores and metrics4
[email protected] · NVD (Primary)Primary9.1 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- 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:H/A:NCVE-2018-8780 · OSV (source-vector)9.1 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- 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:H/A:NRed Hat · Red Hat VEX (adp)6.5 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- Low
- 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:L/I:L/A:N[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories25
- CVE List / CNA
- NVD
- OSV
- Red Hat VEX
- FIRST EPSS
- debian.org
- securityfocus.com
- securitytracker.com
- lists.opensuse.org
- 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
- access.redhat.com
- 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