
CVE catalog
CVE-2019-18978
ruby-rack-cors: CVE-2019-18978
- Severity
- Medium · CVSS 5.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.46% · Oct 25, 2026
An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1.0.4 for Ruby. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-rack-cors | sid | 3.0.0-1 | fixed |
| Debian | ruby-rack-cors | forky | 3.0.0-1 | fixed |
| Debian | ruby-rack-cors | trixie | 2.0.2-1 | fixed |
| Debian | ruby-rack-cors | bookworm | 1.1.1-1 | fixed |
| Ubuntu | ruby-rack-cors | 16.04 | 0.4.0-1 | vulnerable |
| Ubuntu | ruby-rack-cors | 16.04 | 0.4.0-1+deb9u1build0.16.04.1 | vulnerable |
| Ubuntu | ruby-rack-cors | 16.04 | 0.4.0-1+deb9u2build0.16.04.1 | fixed |
| Ubuntu | ruby-rack-cors | 16.04 | 0.4.0-1 | vulnerable |
| Ubuntu | ruby-rack-cors | 16.04 | 0.4.0-1+deb9u1build0.16.04.1 | vulnerable |
| Ubuntu | ruby-rack-cors | 16.04 | 0.4.0-1+deb9u2build0.16.04.1 | fixed |
| Ubuntu | ruby-rack-cors | 18.04 | 0.4.1-1 | vulnerable |
| Ubuntu | ruby-rack-cors | 18.04 | 1.0.1-2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-rack-cors | source | sid | 1.1.1-1 | not yet assigned | Not reported | [944849] |
| Debian | ruby-rack-cors | source | forky | 1.1.1-1 | not yet assigned | Not reported | [944849] |
| Debian | ruby-rack-cors | source | trixie | 1.1.1-1 | not yet assigned | Not reported | [944849] |
| Debian | ruby-rack-cors | source | bookworm | 1.1.1-1 | not yet assigned | Not reported | [944849] |
| Ubuntu | ruby-rack-cors | deb | 16.04 | 0.4.0-1+deb9u2build0.16.04.1 | Not reported | USN-4571-1 | Not reported |
| Ubuntu | ruby-rack-cors | deb | 16.04 | 0.4.0-1+deb9u2build0.16.04.1 | Not reported | UBUNTU-CVE-2019-18978 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-rack-cors]Fixed
Details (2)
1.1.1-1· all · bookwormFixed · Fixed:
1.1.1-1dsa · ruby-rack-cors · debian · bookworm; dsa · ruby-rack-cors · debian · 12
1.1.1-1· all · bookwormFixed · Fixed:
1.1.1-1dsa · ruby-rack-cors · debian · bookworm; dsa · ruby-rack-cors · debian · 12
[Debian 13 (Trixie)]
- [ruby-rack-cors]Fixed
Details (2)
2.0.2-1· all · trixieFixed · Fixed:
1.1.1-1dsa · ruby-rack-cors · debian · 13
2.0.2-1· all · trixieFixed · Fixed:
1.1.1-1dsa · ruby-rack-cors · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2019-18978]
- [https://osv.dev/vulnerability/DLA-2096-1]
- [https://osv.dev/vulnerability/DLA-2389-1]
- [https://osv.dev/vulnerability/DSA-4918-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2019-18978]
- [https://osv.dev/vulnerability/USN-4571-1]
- [https://security-tracker.debian.org/tracker/CVE-2019-18978]
- [https://security.access.redhat.com/data/csaf/v2/vex/2019/cve-2019-18978.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]