Live threats

All CVEs / Ruby-lang

CVE-2019-15845Ruby-lang Ruby

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
3.0%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Nov 26, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

What happens

Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 mishandles path checking within File.fnmatch functions.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby≥ 2.4.0 ≤ 2.4.7
ruby-langruby≥ 2.5.0 ≤ 2.5.6
ruby-langruby≥ 2.6.0 ≤ 2.6.4
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux19.04
canonicalubuntu_linux19.10

Official sources

References

Links published by the sources. Open them with care.