CVE-2022-29970
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Original description
The description as published by the source.
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2022-29970 ruby-sinatra Fixed in: 2.0.8.1-2+deb11u1
- Ubuntu UBUNTU-CVE-2022-29970 ruby-sinatra Fixed in: 1.4.7-3ubuntu0.1~esm2
References
- advisory github.com
- advisory nvd.nist.gov
- web github.com
- web lists.debian.org
- web lists.debian.org