Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2018-8780

9.1 · CRITICAL
Published Apr 3, 2018 ruby-lang CWE-22 EPSS 9.90% (95th pctl)

Overview

CVE-2018-8780 is a critical-severity vulnerability affecting ruby-lang ruby. It was published on April 3, 2018 and has a CVSS 3.0 base score of 9.1 (CRITICAL).

This vulnerability has a CVSS 3.0 base score of 9.1, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from ruby-lang. Update ruby to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
ruby-lang ruby >= 0, < 2.2.10 Affected

Frequently Asked Questions

What is CVE-2018-8780?

CVE-2018-8780 is a critical-severity vulnerability affecting ruby-lang ruby. It was published on April 3, 2018 and has a CVSS 3.0 base score of 9.1 (CRITICAL).

How severe is CVE-2018-8780?

This vulnerability has a CVSS 3.0 base score of 9.1, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2018-8780?

Check the references section for vendor advisories and patches from ruby-lang. Update ruby to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2018-8780?

CyberStrike's AI-powered security agents can automatically detect CVE-2018-8780 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.