Path Traversal in Rack-Cors Project
CVE-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 because resource matching does not ensure that pathnames are in a canonical format.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.025 (84.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 84th percentile — 84.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.025 · newest: 0.025 · change: 0.000
Affected products
- Rack-Cors Project
- Canonical Ubuntu Linux — versions 16.04
- Debian Linux — versions 8.0, 9.0, 10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d (Patch, Third Party Advisory)
- github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4 (Patch, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/02/msg00004.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2020/10/msg00000.html (mailing-list, Mailing List, Third Party Advisory)
- usn.ubuntu.com/4571-1/ (vendor-advisory, Third Party Advisory)
- www.debian.org/security/2021/dsa-4918 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2019-18978?
- CVE-2019-18978 is a medium-severity vulnerability in Rack-Cors Project, classified under Path Traversal. CVSS score: 5.3/10. Published 2019-11-14.
- How severe is CVE-2019-18978?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2019-18978 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.