Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
{ "versions": [ { "introduced": "0" }, { "fixed": "2.2.0" } ] }
[ { "events": [ { "introduced": "0" }, { "last_affected": "10.0" } ] } ]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29970.json"