Name | CVE-2022-29970 |
Description | Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
References | DLA-3166-1 |
Debian Bugs | 1014717 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ruby-sinatra (PTS) | buster | 2.0.5-4 | vulnerable |
| buster (security) | 2.0.5-4+deb10u2 | fixed |
| bullseye | 2.0.8.1-2 | vulnerable |
| bookworm, sid | 3.0.5-3 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://github.com/sinatra/sinatra/commit/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e (v2.2.0)