NetSight
high7.5

CVE-2022-29970

sinatra does not validate expanded path matches

Impact

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

Affected packages

EcosystemPackageAffectedFixed in
rubygemssinatra< 2.2.02.2.0

Affected products

VendorProductAffected versions
SinatrarbSinatra
before 2.2.0
DebianDebian Linux
Version 10.0

Weakness classification

References