CVE-2019-15845Ruby-lang Ruby
Medium 6.5 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Ruby We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | ≥ 2.4.0 ≤ 2.4.7 |
| ruby-lang | ruby | ≥ 2.5.0 ≤ 2.5.6 |
| ruby-lang | ruby | ≥ 2.6.0 ≤ 2.6.4 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| canonical | ubuntu_linux | 19.04 |
| canonical | ubuntu_linux | 19.10 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- hackerone.com Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- security.gentoo.org
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.oracle.com Third Party Advisory