
CVE catalog
CVE-2022-29970
ruby-sinatra: CVE-2022-29970
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.14% · Oct 25, 2026
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-sinatra | sid | 4.2.1-5 | fixed |
| Debian | ruby-sinatra | forky | 4.2.1-5 | fixed |
| Debian | ruby-sinatra | trixie | 4.1.1-5 | fixed |
| Debian | ruby-sinatra | bookworm | 3.0.5-3+deb12u1 | fixed |
| Ubuntu | ruby-sinatra | pro | 1.4.7-5 | vulnerable |
| Ubuntu | ruby-sinatra | pro | 1.4.8-1 | vulnerable |
| Ubuntu | ruby-sinatra | pro | 1.4.8-1ubuntu0.1~esm2 | fixed |
| Ubuntu | ruby-sinatra | 22.04 | 2.0.8.1-2 | vulnerable |
| Ubuntu | ruby-sinatra | 22.04 | 2.0.8.1-2+deb11u1build0.22.04.1 | fixed |
| Ubuntu | ruby-sinatra | pro | 2.0.5-4ubuntu1 | vulnerable |
| Ubuntu | ruby-sinatra | pro | 2.0.8.1-1 | vulnerable |
| Ubuntu | ruby-sinatra | pro | 2.0.8.1-1ubuntu0.1~esm2 | fixed |
| Ubuntu | ruby-sinatra | 22.04 | 2.0.8.1-2 | vulnerable |
| Ubuntu | ruby-sinatra | 22.04 | 2.0.8.1-2+deb11u1build0.22.04.1 | fixed |
| Suse | rubygem-sinatra | openstack cloud crowbar 8 | 1.4.6-3.3.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-sinatra | source | sid | 2.2.2-1 | not yet assigned | Not reported | [1014717] |
| Debian | ruby-sinatra | source | forky | 2.2.2-1 | not yet assigned | Not reported | [1014717] |
| Debian | ruby-sinatra | source | trixie | 2.2.2-1 | not yet assigned | Not reported | [1014717] |
| Debian | ruby-sinatra | source | bookworm | 2.2.2-1 | not yet assigned | Not reported | [1014717] |
| Ubuntu | ruby-sinatra | deb | pro | 1.4.8-1ubuntu0.1~esm2 | Not reported | UBUNTU-CVE-2022-29970 | Not reported |
| Ubuntu | ruby-sinatra | deb | 22.04 | 2.0.8.1-2+deb11u1build0.22.04.1 | Not reported | UBUNTU-CVE-2022-29970 | Not reported |
| Ubuntu | ruby-sinatra | deb | pro | 2.0.8.1-1ubuntu0.1~esm2 | Not reported | USN-7664-1 | Not reported |
| Ubuntu | ruby-sinatra | deb | 22.04 | 2.0.8.1-2+deb11u1build0.22.04.1 | Not reported | USN-7664-1 | Not reported |
| Suse | rubygem-sinatra | rpm | openstack cloud crowbar 8 | 1.4.6-3.3.1 | Not reported | SUSE-SU-2022:2046-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-rack-protection]Fixed
Source package: [ruby-sinatra]
Details (2)
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
2.2.2-1dsa · ruby-sinatra · debian · bookworm
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
2.2.2-1dsa · ruby-sinatra · debian · bookworm
- [ruby-sinatra]Fixed
Details (2)
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
2.2.2-1dsa · ruby-sinatra · debian · bookworm
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
2.2.2-1dsa · ruby-sinatra · debian · bookworm
- [ruby-sinatra-contrib]Fixed
Source package: [ruby-sinatra]
Details (2)
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
2.2.2-1dsa · ruby-sinatra · debian · bookworm
3.0.5-3+deb12u1· all · bookwormFixed · Fixed:
2.2.2-1dsa · ruby-sinatra · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_4661.json]
- [https://osv.dev/vulnerability/DLA-3166-1]
- [https://osv.dev/vulnerability/DLA-3877-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:2046-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-29970]
- [https://osv.dev/vulnerability/USN-7664-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-29970]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-29970.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0267.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]