CVE-2022-29970

EUVD-2022-5007
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
NISTPrimary
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 69%
Affected Products (NVD)
VendorProductVersion
sinatrarbsinatra
𝑥
< 2.2.0
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
ruby-sinatra
bookworm
3.0.5-3
fixed
bullseye
vulnerable
bullseye (security)
2.0.8.1-2+deb11u1
fixed
sid
3.2.0-1
fixed
trixie
3.2.0-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby-sinatra
bionic
needed
focal
needed
impish
ignored
jammy
needed
kinetic
not-affected
lunar
not-affected
mantic
not-affected
noble
not-affected
xenial
needs-triage