sinatra does not validate expanded path matches
High severity
GitHub Reviewed
Published
May 3, 2022
to the GitHub Advisory Database
•
Updated May 4, 2023
Description
Published by the National Vulnerability Database
May 2, 2022
Published to the GitHub Advisory Database
May 3, 2022
Reviewed
May 3, 2022
Last updated
May 4, 2023
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
References