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.
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
