Summary
It was discovered that rack-cors did not properly handle relative file
paths. An attacker could possibly use this issue to access arbitrary files.
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | ruby-rack-cors | 1.0.1-2ubuntu0.1~esm1 |
Vulnerabilities 1
-
Medium 5.3
The rack-cors rubygem may allow directory traveral
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.
References
-
report
https://ubuntu.com/security/CVE-2019-18978