CVE 2022-29970
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
See the
CVE page on Mitre.org
for more details.
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.