CVE-2019-18978
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 1.1.1-1 |
| debian | bullseye | fixed | 1.1.1-1 |
| debian | forky | fixed | 1.1.1-1 |
| debian | sid | fixed | 1.1.1-1 |
| debian | trixie | fixed | 1.1.1-1 |
References
- https://github.com/cyu/rack-cors/commit/e4d4fc362a4315808927011cbe5afcfe5486f17d
- https://nvd.nist.gov/vuln/detail/CVE-2019-18978
- https://github.com/cyu/rack-cors
- https://github.com/cyu/rack-cors/compare/v1.0.3...v1.0.4
- https://lists.debian.org/debian-lts-announce/2020/02/msg00004.html
- https://lists.debian.org/debian-lts-announce/2020/10/msg00000.html
- https://usn.ubuntu.com/4571-1
- https://www.debian.org/security/2021/dsa-4918
- https://security-tracker.debian.org/tracker/CVE-2019-18978
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.