Ubuntu CVE Tracker
UBUNTU-CVE-2019-18978
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:16.04:LTS | ruby-rack-cors | All versions before 0.4.0-1+deb9u2build0.16.04.1 (fixed in 0.4.0-1+deb9u2build0.16.04.1) |
| Ubuntu:18.04:LTS | ruby-rack-cors | All versions, no fix listed |