CVE-2019-15845

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.

Published: 2019-11-26 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2019-15845 is rated Moderate Risk (56.5/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 3.29%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2019-15845

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-19 3.23% 3.29% +0.06%
2 2026-06-15 0.32% 3.23% +2.91%
3 2025-11-21 0.32%

Full EPSS history (16 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2019-15845

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 2.5 [email protected]
6.4 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
10.0 4.9 [email protected]

Weakness enumeration for CVE-2019-15845

OS Trackers for CVE-2019-15845

vendor priority summary link
alpine medium CVE-2019-15845: 1 source package rows (ruby); 30 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 20. https://security.alpinelinux.org/vuln/CVE-2019-15845
debian unimportant CVE-2019-15845 unimportant priority: Debian including 1 source packages (jruby), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 4. https://security-tracker.debian.org/tracker/CVE-2019-15845
gentoo normal CVE-2019-15845: 1 GLSA(s) (202003-06), 1 atom(s) (dev-lang/ruby); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2019-15845
redhat medium https://access.redhat.com/security/cve/CVE-2019-15845
suse medium CVE-2019-15845 severity moderate: SUSE including 311 source package names (2.17-17.3:libruby2_5-2_5-2.5.7-4.8.1, 2.17-17.3:ruby2.5-2.5.7-4.8.1, …), 1053 product×package rows across 270 product lines (Container bci/ruby, Container suse/rmt-server, … (270 product lines)): Fixed 860, Known Affected 157, Known Not Affected 30, Will Not Fix 6. https://www.suse.com/security/cve/CVE-2019-15845/
ubuntu medium CVE-2019-15845 medium priority: Ubuntu including 3 source packages (jruby, ruby2.3, ruby2.5), 18 status rows across 6 suites (bionic, disco, eoan, trusty, upstream, xenial): DNE 6, not-affected 5, released 5, needs-triage 2. https://ubuntu.com/security/CVE-2019-15845

Affected software / configurations for CVE-2019-15845

Vendor Product Version Raw CPE
ruby-lang ruby >= 2.4.0, <= 2.4.7 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
ruby-lang ruby >= 2.5.0, <= 2.5.6 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
ruby-lang ruby >= 2.6.0, <= 2.6.4 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 19.04 cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
canonical ubuntu_linux 19.10 cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*

References for CVE-2019-15845

cvelogic Threat Intelligence