SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2018-8780

When using the corresponding method, unintentional directory traversal may be performed.

CRITICAL 9.1EPSS 9.72%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (9.72%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.0
9.1 CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
9.72% probability · 95th percentile
CISA KEV
Not listed
Weakness
CWE-22
Affected
ruby-lang/ruby · canonical/ubuntu linux · debian/debian linux
Source
cve@mitre.org

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.