Описание
sinatra does not validate expanded path matches
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Ссылки
- https://nvd.nist.gov/vuln/detail/CVE-2022-29970
- https://github.com/sinatra/sinatra/pull/1683
- https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e
- https://github.com/skylightio/skylight-ruby/pull/294
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-29970.yml
- https://github.com/sinatra/sinatra
- https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html
Пакеты
Наименование
sinatra
rubygems
Затронутые версииВерсия исправления
< 2.2.0
2.2.0
Связанные уязвимости
CVSS3: 7.5
ubuntu
больше 3 лет назад
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
CVSS3: 7.5
redhat
больше 3 лет назад
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
CVSS3: 7.5
nvd
больше 3 лет назад
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
CVSS3: 7.5
debian
больше 3 лет назад
Sinatra before 2.2.0 does not validate that the expanded path matches ...