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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2022-29970US | high7.5 | — | ||
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files. | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sinatra/CVE-2022-29970.ymlWEB
- https://github.com/sinatra/sinatraWEB
- https://github.com/sinatra/sinatra/pull/1683WEB
- https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10eWEB
- https://github.com/skylightio/skylight-ruby/pull/294WEB
- https://lists.debian.org/debian-lts-announce/2022/10/msg00034.htmlWEB
- https://lists.debian.org/debian-lts-announce/2024/09/msg00020.htmlWEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-29970ADVISORY
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan