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)
EPSS: 0.025 (82.8th percentile) — read the EPSS interpretation.
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.
Affected products
- Rack-cors_project Rack-cors
- Canonical Ubuntu_linux — versions 16.04
- Debian Debian_linux — versions 8.0, 9.0, 10.0
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- cve@mitre.org (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
- cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
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.