CVE-2022-29970

HIGH

sinatra < 2.2.0 - Path Traversal in Static File Serving

Title source: llm
STIX 2.1

Description

Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.

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