CVE-2022-29970: debian debian_linux Path Traversal
CVSS: 7.5v3.1HighModified
AliasesMGASA-2022-0280SUSE-SU-2022:2046-1RHSA-2022:2253RHSA-2022:2255RHSA-2022:2256RHSA-2022:4587RHSA-2022:4661UBUNTU-CVE-2022-29970DEBIAN-CVE-2022-29970DLA-3166-1GHSA-qp49-3pvw-x4m5
Published 02-05-2022Last modified 04-11-2025
Vulnerability summary
CVE-2022-29970 is a high (CVSS 7.5) Path Traversal vulnerability in debian debian_linux. EPSS estimates a 2.14% chance of exploitation in the next 30 days, higher than 81.7% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
2.14%
0%100%
Low · -0.06 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 4 · Related 2Timeline
- 02-05-2022PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
CVSS metrics
6 scores · 5 sources · 2 versionsHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NSourcesAll 5 agree
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · RubygemsEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Medium 5.0Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:N/A:NSourcesSingle source
EPSS trend
Probability
2.14%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
-0.06 pp
From 2.20% on 20-09-2026
20-09-202620-10-2026
EPSS score2.14%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- ruby-sinatra< 2.0.5-4+deb10u1 | < 2.2.2-1
- debian_linuxEOL10.0
Redhat2 products
- pcs< 0:0.10.4-6.el8_2.2 | < 0:0.10.2-4.el8_1.2 | < 0:0.10.8-1.el8_4.1 | < 0:0.11.1-10.el9_0.1 | < 0:0.10.12-6.el8_6.1
- pcs-snmp< 0:0.10.4-6.el8_2.2 | < 0:0.10.2-4.el8_1.2 | < 0:0.10.8-1.el8_4.1 | < 0:0.11.1-10.el9_0.1 | < 0:0.10.12-6.el8_6.1
Mageia1 product
- ruby-sinatra< 2.0.8.1-1.1.mga8
RubyGems1 product
- sinatra< 2.2.0
Sinatrarb1 product
- sinatra< 2.2.0
Suse1 product
- rubygem-sinatra&distro=SUSE OpenStack Cloud Crowbar 8< 1.4.6-3.3.1
Ubuntu1 product
- ruby-sinatra< 1.4.7-3ubuntu0.1~esm2 | < 1.4.8-1ubuntu0.1~esm2 | < 2.0.8.1-2+deb11u1build0.22.04.1
7 vendors · 9 products
References
32 links- github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10eWEBPatchThird Party Advisory