CVE-2022-29970
HIGHCVSS 7.5/10EPSS 1.93%
Last modified
CVE-2022-29970 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.. EPSS estimates a 1.93% chance of exploitation in the next 30 days.
Description
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sinatrarb | Sinatra | < 2.2.0 |
| Debian | Debian Linux | 10.0 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-29970?
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 a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.93% probability of exploitation in the next 30 days.
How do I fix CVE-2022-29970?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-29964The Emerson DeltaV Distributed Control System (DCS) controll…5.5
- CVE-2022-29965The Emerson DeltaV Distributed Control System (DCS) controll…5.5
- CVE-2022-29967static_compressed_inmemory_website_callback.c in Glewlwyd th…7.5
- CVE-2022-29968An issue was discovered in the Linux kernel through 5.17.5. …7.8
- CVE-2022-29969The RSS extension before 2022-04-29 for MediaWiki allows XSS…6.1
- CVE-2022-2997Session Fixation in GitHub repository snipe/snipe-it prior t…8
- CVE-2022-29971An argument injection vulnerability in the browser-based aut…7.8
- CVE-2022-29972An argument injection vulnerability in the browser-based aut…7.8
- CVE-2022-29973relan exFAT 1.3.0 allows local users to obtain sensitive inf…4.7
- CVE-2022-29974AMI (aka American Megatrends) NTFS driver 1.0.0 (fixed in la…4.3
- CVE-2022-29975An Authenticated Reflected Cross-site scripting at CC Parame…5.4
- CVE-2022-29976An Authenticated Reflected Cross-site scripting at BCC Param…5.4
Are you affected by CVE-2022-29970?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
