VulnerabilityModified
CVE-2022-29970
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
HIGH 7.5EPSS 2.18%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.18%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 2.18% probability · 81th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- sinatrarb/sinatra · debian/debian linux
- Source
- cve@mitre.org
References
- https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10ePatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00034.htmlMailing List, Third Party Advisory
- https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10ePatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00034.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.