Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2019-15845

published

ruby: NUL injection vulnerability of File.fnmatch and File.fnmatch?

Title from Red Hat VEX

Published
26 Nov 2019, 16:45:08 UTC
Updated
05 Aug 2024, 01:03:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
Amazon Linux AL2 Release evaluationALAS2-2024-2486 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2RUBY2.6-2023-007 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 rubygem-abrt Advisory build 0.3.0-4.module_el8.5.0+259+8cec6917 ALSA-2021:2587
Alpine Linux edge ruby Fixed 2.6.5-r0 Package fix record
Debian buster ruby2.5 Advisory build 2.5.5-3+deb10u1 DSA-4586-1
Oracle Linux 8 rubyaarch64 · ruby · 2.5b Advisory build 0:2.5.9-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 8 rubygem-abrt Advisory build 0.3.0-4.module_el8.5.0+259+8cec6917 ALSA-2021:2588
AlmaLinux 8 rubygem-abrt Advisory build 0.3.0-4.module_el8.5.0+2623+08a8ba32 ALSA-2021:2587
AlmaLinux 8 rubygem-abrt Advisory build 0.3.0-4.module_el8.5.0+2623+08a8ba32 ALSA-2021:2588
AlmaLinux 8 rubygem-abrt Advisory build 0.3.0-4.module_el8.5.0+2625+ec418553 ALSA-2021:2587
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.3.0-4.module_el8.5.0+259+8cec6917 ALSA-2021:2587
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.3.0-4.module_el8.5.0+259+8cec6917 ALSA-2021:2588
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.3.0-4.module_el8.5.0+2623+08a8ba32 ALSA-2021:2587
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.3.0-4.module_el8.5.0+2623+08a8ba32 ALSA-2021:2588
AlmaLinux 8 rubygem-abrt-doc Advisory build 0.3.0-4.module_el8.5.0+2625+ec418553 ALSA-2021:2587
AlmaLinux 8 rubygem-bson Advisory build 4.3.0-2.module_el8.5.0+259+8cec6917 ALSA-2021:2587
AlmaLinux 8 rubygem-bson Advisory build 4.3.0-2.module_el8.5.0+2625+ec418553 ALSA-2021:2587
AlmaLinux 8 rubygem-bson Advisory build 4.5.0-1.module_el8.5.0+250+ba22dbf7 ALSA-2021:2588
AlmaLinux 8 rubygem-bson Advisory build 4.5.0-1.module_el8.5.0+2623+08a8ba32 ALSA-2021:2588
AlmaLinux 8 rubygem-bson-doc Advisory build 4.3.0-2.module_el8.5.0+259+8cec6917 ALSA-2021:2587
AlmaLinux 8 rubygem-bson-doc Advisory build 4.3.0-2.module_el8.5.0+2625+ec418553 ALSA-2021:2587
AlmaLinux 8 rubygem-bson-doc Advisory build 4.5.0-1.module_el8.5.0+250+ba22dbf7 ALSA-2021:2588
AlmaLinux 8 rubygem-bson-doc Advisory build 4.5.0-1.module_el8.5.0+2623+08a8ba32 ALSA-2021:2588
AlmaLinux 8 rubygem-mongo Advisory build 2.5.1-2.module_el8.5.0+259+8cec6917 ALSA-2021:2587
AlmaLinux 8 rubygem-mongo Advisory build 2.5.1-2.module_el8.5.0+2625+ec418553 ALSA-2021:2587
AlmaLinux 8 rubygem-mongo Advisory build 2.8.0-1.module_el8.5.0+250+ba22dbf7 ALSA-2021:2588
AlmaLinux 8 rubygem-mongo Advisory build 2.8.0-1.module_el8.5.0+2623+08a8ba32 ALSA-2021:2588
AlmaLinux 8 rubygem-mongo-doc Advisory build 2.5.1-2.module_el8.5.0+259+8cec6917 ALSA-2021:2587
AlmaLinux 8 rubygem-mongo-doc Advisory build 2.5.1-2.module_el8.5.0+2625+ec418553 ALSA-2021:2587
AlmaLinux 8 rubygem-mongo-doc Advisory build 2.8.0-1.module_el8.5.0+250+ba22dbf7 ALSA-2021:2588
AlmaLinux 8 rubygem-mongo-doc Advisory build 2.8.0-1.module_el8.5.0+2623+08a8ba32 ALSA-2021:2588
AlmaLinux 8 rubygem-mysql2 Advisory build 0.4.10-4.module_el8.5.0+259+8cec6917 ALSA-2021:2587
AlmaLinux 8 rubygem-mysql2 Advisory build 0.4.10-4.module_el8.5.0+2625+ec418553 ALSA-2021:2587
AlmaLinux 8 rubygem-mysql2 Advisory build 0.5.2-1.module_el8.5.0+250+ba22dbf7 ALSA-2021:2588
AlmaLinux 8 rubygem-mysql2 Advisory build 0.5.2-1.module_el8.5.0+2623+08a8ba32 ALSA-2021:2588
AlmaLinux 8 rubygem-mysql2-doc Advisory build 0.4.10-4.module_el8.5.0+259+8cec6917 ALSA-2021:2587
AlmaLinux 8 rubygem-mysql2-doc Advisory build 0.4.10-4.module_el8.5.0+2625+ec418553 ALSA-2021:2587
AlmaLinux 8 rubygem-mysql2-doc Advisory build 0.5.2-1.module_el8.5.0+250+ba22dbf7 ALSA-2021:2588
AlmaLinux 8 rubygem-mysql2-doc Advisory build 0.5.2-1.module_el8.5.0+2623+08a8ba32 ALSA-2021:2588
AlmaLinux 8 rubygem-pg Advisory build 1.0.0-2.module_el8.5.0+259+8cec6917 ALSA-2021:2587
AlmaLinux 8 rubygem-pg Advisory build 1.0.0-2.module_el8.5.0+2625+ec418553 ALSA-2021:2587
AlmaLinux 8 rubygem-pg Advisory build 1.1.4-1.module_el8.5.0+250+ba22dbf7 ALSA-2021:2588
AlmaLinux 8 rubygem-pg Advisory build 1.1.4-1.module_el8.5.0+2623+08a8ba32 ALSA-2021:2588
AlmaLinux 8 rubygem-pg-doc Advisory build 1.0.0-2.module_el8.5.0+259+8cec6917 ALSA-2021:2587
AlmaLinux 8 rubygem-pg-doc Advisory build 1.0.0-2.module_el8.5.0+2625+ec418553 ALSA-2021:2587
AlmaLinux 8 rubygem-pg-doc Advisory build 1.1.4-1.module_el8.5.0+250+ba22dbf7 ALSA-2021:2588
AlmaLinux 8 rubygem-pg-doc Advisory build 1.1.4-1.module_el8.5.0+2623+08a8ba32 ALSA-2021:2588
Alpine Linux v3.10 ruby Fixed 2.5.7-r0 Package fix record
Alpine Linux v3.11 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.12 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.13 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.14 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.15 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.16 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.17 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.18 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.19 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.20 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.21 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.22 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.23 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.24 ruby Fixed 2.6.5-r0 Package fix record
Alpine Linux v3.7 ruby Fixed 2.4.10-r0 Package fix record
Alpine Linux v3.8 ruby Fixed 2.5.7-r0 Package fix record
Alpine Linux v3.9 ruby Fixed 2.5.7-r0 Package fix record
Debian jessie ruby2.1 Advisory build 2.1.5-2+deb8u8 DLA-2007-1
Debian stretch ruby2.3 Advisory build 2.3.3-1+deb9u7 DSA-4587-1
Oracle Linux 8 rubyaarch64 · ruby · 2.6b Advisory build 0:2.6.7-107.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 rubyx86_64 · ruby · 2.5b Advisory build 0:2.5.9-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 rubyx86_64 · ruby · 2.6b Advisory build 0:2.6.7-107.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 ruby-develaarch64 · ruby · 2.5b Advisory build 0:2.5.9-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 ruby-develaarch64 · ruby · 2.6b Advisory build 0:2.6.7-107.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 ruby-develx86_64 · ruby · 2.5b Advisory build 0:2.5.9-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 ruby-develx86_64 · ruby · 2.6b Advisory build 0:2.6.7-107.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 ruby-docaarch64 · ruby · 2.5b Advisory build 0:2.5.9-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 ruby-docaarch64 · ruby · 2.6b Advisory build 0:2.6.7-107.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 ruby-docx86_64 · ruby · 2.5b Advisory build 0:2.5.9-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 ruby-docx86_64 · ruby · 2.6b Advisory build 0:2.6.7-107.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 ruby-irbaarch64 · ruby · 2.5b Advisory build 0:2.5.9-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 ruby-irbx86_64 · ruby · 2.5b Advisory build 0:2.5.9-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 ruby-libsaarch64 · ruby · 2.5b Advisory build 0:2.5.9-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 ruby-libsaarch64 · ruby · 2.6b Advisory build 0:2.6.7-107.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 ruby-libsx86_64 · ruby · 2.5b Advisory build 0:2.5.9-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 ruby-libsx86_64 · ruby · 2.6b Advisory build 0:2.6.7-107.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 rubygem-abrtaarch64 · ruby · 2.5b Advisory build 0:0.3.0-4.module+el8.3.0+7756+e45777e9 ELSA-2021-2587
Oracle Linux 8 rubygem-abrtaarch64 · ruby · 2.6b Advisory build 0:0.3.0-4.module+el8.1.0+5406+ce01f9b9 ELSA-2021-2588
Oracle Linux 8 rubygem-abrtx86_64 · ruby · 2.5b Advisory build 0:0.3.0-4.module+el8.3.0+7756+e45777e9 ELSA-2021-2587
Oracle Linux 8 rubygem-abrtx86_64 · ruby · 2.6b Advisory build 0:0.3.0-4.module+el8.1.0+5406+ce01f9b9 ELSA-2021-2588
Oracle Linux 8 rubygem-abrt-docaarch64 · ruby · 2.5b Advisory build 0:0.3.0-4.module+el8.3.0+7756+e45777e9 ELSA-2021-2587
Oracle Linux 8 rubygem-abrt-docaarch64 · ruby · 2.6b Advisory build 0:0.3.0-4.module+el8.1.0+5406+ce01f9b9 ELSA-2021-2588
Oracle Linux 8 rubygem-abrt-docx86_64 · ruby · 2.5b Advisory build 0:0.3.0-4.module+el8.3.0+7756+e45777e9 ELSA-2021-2587
Oracle Linux 8 rubygem-abrt-docx86_64 · ruby · 2.6b Advisory build 0:0.3.0-4.module+el8.1.0+5406+ce01f9b9 ELSA-2021-2588
Oracle Linux 8 rubygem-bigdecimalaarch64 · ruby · 2.5b Advisory build 0:1.3.4-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 rubygem-bigdecimalaarch64 · ruby · 2.6b Advisory build 0:1.4.1-107.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 rubygem-bigdecimalx86_64 · ruby · 2.5b Advisory build 0:1.3.4-107.module+el8.4.0+20203+c00aa653 ELSA-2021-2587
Oracle Linux 8 rubygem-bigdecimalx86_64 · ruby · 2.6b Advisory build 0:1.4.1-107.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 rubygem-bsonaarch64 · ruby · 2.5b Advisory build 0:4.3.0-2.module+el8.3.0+7756+e45777e9 ELSA-2021-2587
Oracle Linux 8 rubygem-bsonaarch64 · ruby · 2.6b Advisory build 0:4.5.0-1.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 rubygem-bsonx86_64 · ruby · 2.5b Advisory build 0:4.3.0-2.module+el8.3.0+7756+e45777e9 ELSA-2021-2587
Oracle Linux 8 rubygem-bsonx86_64 · ruby · 2.6b Advisory build 0:4.5.0-1.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588
Oracle Linux 8 rubygem-bson-docaarch64 · ruby · 2.5b Advisory build 0:4.3.0-2.module+el8.3.0+7756+e45777e9 ELSA-2021-2587
Oracle Linux 8 rubygem-bson-docaarch64 · ruby · 2.6b Advisory build 0:4.5.0-1.module+el8.4.0+20235+1e5b8be3 ELSA-2021-2588

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

45

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

9

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
0e2e5a7bbb6eb58a2a7726e974c4e08a8cd978fec33cbf37bccc6091bd1c5ebb
Ingested
23 Sep 2026, 07:46:11 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected