CVE-2022-29970

Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 66%
VendorProductVersion
sinatrarbsinatra
𝑥
< 2.2.0
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
ruby-sinatra
bullseye
vulnerable
bullseye (security)
2.0.8.1-2+deb11u1
fixed
bookworm
3.0.5-3
fixed
sid
3.2.0-1
fixed
trixie
3.2.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby-sinatra
noble
not-affected
mantic
not-affected
lunar
not-affected
kinetic
not-affected
jammy
needed
impish
ignored
focal
needed
bionic
needed
xenial
needs-triage