High severity · published May 2, 2022
CVE-2022-29970
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files
7.5
CVSS
2.1%
EPSS
No
On KEV
Description
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.1% · higher than 82% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
10.0 · source: NVD
SI
Sinatra · Sinatrarb
before 2.2.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-29970
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-29970
Patch
https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e
Mailing List
https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html
lists.debian.org
https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
