cvedb.io
CVE-2018-8780
CRITICAL · CVSS 9.1
EPSS exploitation probability: 0%
Published 2018-04-03T22:29:00.947 · Last modified 2026-06-17T02:05:22.490

Summary

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 products

ruby-lang — ruby

Does this affect you?

Add your gear to cvedb and we'll alert you only when ruby-lang ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.