Vulnerability · Published May 2, 2022 · Assigned by mitre
CVE-2022-29970
High 7.5
In plain English
A high-severity security flaw in the pcs package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.1%top 17.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | pcs | 0.10.12-6.el8.alma | ALSA-2022:4661 |
| AlmaLinux:9 | pcs | 0.11.1-10.el9 | ALSA-2022:4587 |
| AlmaLinux:8 | pcs-snmp | 0.10.12-6.el8.alma | ALSA-2022:4661 |
| AlmaLinux:9 | pcs-snmp | 0.11.1-10.el9 | ALSA-2022:4587 |
| Debian:12 | ruby-sinatra | 2.2.2-1 | DEBIAN-CVE-2022-29970 |
| Debian:13 | ruby-sinatra | 2.2.2-1 | DEBIAN-CVE-2022-29970 |
| Debian:14 | ruby-sinatra | 2.2.2-1 | DEBIAN-CVE-2022-29970 |
| Rocky Linux:8 | libdb | 0:5.3.28-42.el8_4 | RLSA-2022:8506 |
| Rocky Linux:8 | pcs | 0:0.10.12-6.el8_6.1 | RLSA-2022:4661 |
| RubyGems | sinatra | 2.2.0 | GHSA-qp49-3pvw-x4m5 |
| Ubuntu:22.04:LTS | ruby-sinatra | 2.0.8.1-2+deb11u1build0.22.04.1 | UBUNTU-CVE-2022-29970 |
| Ubuntu:22.04:LTS | ruby-sinatra | 2.0.8.1-2+deb11u1build0.22.04.1 | USN-7664-1 |