Vulnerability Database

289,697

Total vulnerabilities in the database

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 characters. When using the corresponding method, unintentional directory traversal may be performed.

  • Published: Apr 4, 2018
  • Updated: Apr 13, 2023
  • CVE: CVE-2018-8780
  • Severity: Critical
  • Exploit:

CVSS v3:

  • Severity: Critical
  • Score: 9.1
  • AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CVSS v2:

  • Severity: High
  • Score: 7.5
  • AV:N/AC:L/Au:N/C:P/I:P/A:P
Software From Fixed in
ruby-lang / ruby - 2.2.10
ruby-lang / ruby 2.3.0 2.3.7
ruby-lang / ruby 2.4.0 2.4.4
ruby-lang / ruby 2.5.0 2.5.1
ruby-lang / ruby 2.6.0-preview1 2.6.0-preview1.x
canonical / ubuntu_linux 16.04 16.04.x
canonical / ubuntu_linux 14.04 14.04.x
canonical / ubuntu_linux 17.10 17.10.x
debian / debian_linux 8.0 8.0.x
debian / debian_linux 7.0 7.0.x
debian / debian_linux 9.0 9.0.x