Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
{ "nvd_published_at": "2022-05-02T05:15:00Z", "cwe_ids": [ "CWE-22", "CWE-426" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2022-05-03T20:59:50Z" }