Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29970.json"
}