CVE-2019-18978Published Nov 14, 2019 · Nov 14Updated Oct 20
The rack-cors rubygem may allow directory traveral
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| rack-cors RubyGems |
|
|
Original 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.
From the CVE record · mitre