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
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
History
No history.
Information
Published : 2019-11-14 21:15
Updated : 2024-11-21 04:33
NVD link : CVE-2019-18978
Mitre link : CVE-2019-18978
CVE.ORG link : CVE-2019-18978
JSON object : View
Products Affected
canonical
- ubuntu_linux
debian
- debian_linux
rack-cors_project
- rack-cors
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')