The rack-cors rubygem may allow directory traveral
Moderate severity
GitHub Reviewed
Published
Nov 15, 2019
to the GitHub Advisory Database
•
Updated Jan 23, 2023
Description
Published by the National Vulnerability Database
Nov 14, 2019
Reviewed
Nov 15, 2019
Published to the GitHub Advisory Database
Nov 15, 2019
Last updated
Jan 23, 2023
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