Path Validation Bypass in Sinatra before 2.2.0

Path Validation Bypass in Sinatra before 2.2.0

CVE-2022-29970 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.

Learn more about our Web Application Penetration Testing UK.