CVE-2018-8780
9.1
CRITICAL
CVSS 3.1
EPSS 1.7%
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.
How to fix CVE-2018-8780
To remediate CVE-2018-8780, upgrade the affected package to a fixed version below.
- Alpine/ruby—upgrade to 2.5.1-r0 or later
Is CVE-2018-8780 being exploited?
Low — EPSS is 1.7%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 2.5.1-r0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |