CVE-2018-8780

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-8780
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-8780.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-8780
Downstream
Related
Published
2018-04-03T22:29:00Z
Modified
2025-10-14T14:33:34Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ruby/ruby

Affected ranges

Type
GIT
Repo
https://github.com/ruby/ruby
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed