CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2018 · Ruby-lang

CVE-2018-8780
Ruby-lang Ruby vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Ruby, Ubuntu Linux, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Ruby-lang products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.