Critical severity · published Apr 3, 2018
CVE-2018-8780
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…
9.1
CVSS
10%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)10.0% · higher than 96% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
7.0; 8.0; 9.0 · source: NVD
RU
Ruby · Ruby-lang
before 2.2.10; 2.3.0 before 2.3.7; 2.4.0 before 2.4.4; 2.5.0 before 2.5.1; 2.6.0 · source: NVD
UL
Ubuntu Linux · Canonical
14.04; 16.04; 17.10 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-8780
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-8780
lists.opensuse.org
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
Third Party Advisory
http://www.securityfocus.com/bid/103739
Third Party Advisory
http://www.securitytracker.com/id/1042004
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3729
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3730
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3731
More from Ubuntu Linux
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2019-16928
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149
Exim Mail Transfer Agent (MTA) Improper Input Validation
