cbcvebase.
CVE-2022-29970
published 2022-05-02

CVE-2022-29970: Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.

PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
2.18%
80.5th percentile
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.

Affected

4 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianruby-sinatra< ruby-sinatra 2.2.2-1 (bookworm)ruby-sinatra 2.2.2-1 (bookworm)
sinatrasinatra>= 0 < 2.2.02.2.0
sinatrarbsinatra< 2.2.02.2.0

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.