CVE-2022-29970
HIGHsinatra < 2.2.0 - Path Traversal in Static File Serving
Title source: llmDescription
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
References (3)
Core 3
Core References
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html
Patch, Third Party Advisory
https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e
Scores
CVSS v3
7.5
EPSS
0.0060
EPSS Percentile
69.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-22
Status
published
Products (3)
debian/debian_linux
10.0
rubygems/sinatra
0 - 2.2.0RubyGems
sinatrarb/sinatra
< 2.2.0
Published
May 02, 2022
Tracked Since
Feb 18, 2026