Vulnerability Description
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
CVSS Score
7.5
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sinatrarb | Sinatra | < 2.2.0 |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00034.htmlMailing ListThird Party Advisory
- https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00034.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/09/msg00020.html
FAQ
What is CVE-2022-29970?
CVE-2022-29970 is a vulnerability with a CVSS score of 7.5 (HIGH). Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
How severe is CVE-2022-29970?
CVE-2022-29970 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-29970?
Check the references section above for vendor advisories and patch information. Affected products include: Sinatrarb Sinatra, Debian Debian Linux.