CVE-2019-18978
published 2019-11-14CVE-2019-18978: 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…
PriorityP430medium5.3CVSS 3.1
AVNACLPRNUINSUCLINAN
EPSS
2.46%
82.9th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | ruby-rack-cors | < ruby-rack-cors 1.1.1-1 (bookworm) | ruby-rack-cors 1.1.1-1 (bookworm) |
| rack-cors_project | rack-cors | < 1.0.4 | 1.0.4 |
| rack-cors_project | rack-cors | >= 0 < 1.0.4 | 1.0.4 |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv5.3MEDIUM
vendor_debian5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
The rack-cors rubygem may allow directory traveral
osv·2019-11-15
CVE-2019-18978 [MEDIUM] The rack-cors rubygem may allow directory traveral
The rack-cors rubygem may allow directory traveral
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.
GHSA
The rack-cors rubygem may allow directory traveral
ghsa·2019-11-15
CVE-2019-18978 [MEDIUM] CWE-22 The rack-cors rubygem may allow directory traveral
The rack-cors rubygem may allow directory traveral
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.
OSV
CVE-2019-18978: An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1
osv·2019-11-14·CVSS 5.3
CVE-2019-18978 [MEDIUM] CVE-2019-18978: An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1
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.
Ubuntu
rack-cors vulnerability
vendor_ubuntu·2020-10-05
CVE-2019-18978 rack-cors vulnerability
Title: rack-cors vulnerability
Summary: rack-cors would allow unintended access to files over the network.
It was discovered that rack-cors did not properly handle relative file
paths. An attacker could use this vulnerability to access arbitrary files.
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2019-18978: ruby-rack-cors - An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1...
vendor_debian·2019·CVSS 5.3
CVE-2019-18978 [MEDIUM] CVE-2019-18978: ruby-rack-cors - An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1...
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.
Scope: local
bookworm: resolved (fixed in 1.1.1-1)
bullseye: resolved (fixed in 1.1.1-1)
forky: resolved (fixed in 1.1.1-1)
sid: resolved (fixed in 1.1.1-1)
trixie: resolved (fixed in 1.1.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-18978 rubygem-rack-cors: allows ../ directory traversal to access private resources [epel-all]
bugzilla·2019-11-21·CVSS 5.3
CVE-2019-18978 [MEDIUM] CVE-2019-18978 rubygem-rack-cors: allows ../ directory traversal to access private resources [epel-all]
CVE-2019-18978 rubygem-rack-cors: allows ../ directory traversal to access private resources [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mul
Bugzilla
CVE-2019-18978 rubygem-rack-cors: allows ../ directory traversal to access private resources
bugzilla·2019-11-21·CVSS 5.3
CVE-2019-18978 [MEDIUM] CVE-2019-18978 rubygem-rack-cors: allows ../ directory traversal to access private resources
CVE-2019-18978 rubygem-rack-cors: allows ../ directory traversal to access private resources
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.
Reference:
https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d
https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4
Discussion:
Created rubygem-rack-cors tracking bugs for this issue:
Affects: epel-all [bug 1775114]
Affects: fedora-all [bug 1775112]
---
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the depen
Bugzilla
CVE-2019-18978 rubygem-rack-cors: allows ../ directory traversal to access private resources [fedora-all]
bugzilla·2019-11-21·CVSS 5.3
CVE-2019-18978 [MEDIUM] CVE-2019-18978 rubygem-rack-cors: allows ../ directory traversal to access private resources [fedora-all]
CVE-2019-18978 rubygem-rack-cors: allows ../ directory traversal to access private resources [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17dhttps://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4https://lists.debian.org/debian-lts-announce/2020/02/msg00004.htmlhttps://lists.debian.org/debian-lts-announce/2020/10/msg00000.htmlhttps://usn.ubuntu.com/4571-1/https://www.debian.org/security/2021/dsa-4918https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17dhttps://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4https://lists.debian.org/debian-lts-announce/2020/02/msg00004.htmlhttps://lists.debian.org/debian-lts-announce/2020/10/msg00000.htmlhttps://usn.ubuntu.com/4571-1/https://www.debian.org/security/2021/dsa-4918
2019-11-14
Published