Moderate severityNVD Advisory· Published Nov 14, 2019· Updated Aug 5, 2024
CVE-2019-18978
CVE-2019-18978
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rack-corsRubyGems | < 1.0.4 | 1.0.4 |
Affected products
1Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-pf8f-w267-mq2hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2019-18978ghsaADVISORY
- usn.ubuntu.com/4571-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.debian.org/security/2021/dsa-4918ghsavendor-advisoryx_refsource_DEBIANWEB
- github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17dghsax_refsource_MISCWEB
- github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4ghsax_refsource_MISCWEB
- lists.debian.org/debian-lts-announce/2020/02/msg00004.htmlghsamailing-listx_refsource_MLISTWEB
- lists.debian.org/debian-lts-announce/2020/10/msg00000.htmlghsamailing-listx_refsource_MLISTWEB
- usn.ubuntu.com/4571-1ghsaWEB
News mentions
0No linked articles in our index yet.