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

EcosystemPackageFixed inAdvisory
AlmaLinux:8pcs0.10.12-6.el8.almaALSA-2022:4661
AlmaLinux:9pcs0.11.1-10.el9ALSA-2022:4587
AlmaLinux:8pcs-snmp0.10.12-6.el8.almaALSA-2022:4661
AlmaLinux:9pcs-snmp0.11.1-10.el9ALSA-2022:4587
Debian:12ruby-sinatra2.2.2-1DEBIAN-CVE-2022-29970
Debian:13ruby-sinatra2.2.2-1DEBIAN-CVE-2022-29970
Debian:14ruby-sinatra2.2.2-1DEBIAN-CVE-2022-29970
Rocky Linux:8libdb0:5.3.28-42.el8_4RLSA-2022:8506
Rocky Linux:8pcs0:0.10.12-6.el8_6.1RLSA-2022:4661
RubyGemssinatra2.2.0GHSA-qp49-3pvw-x4m5
Ubuntu:22.04:LTSruby-sinatra2.0.8.1-2+deb11u1build0.22.04.1UBUNTU-CVE-2022-29970
Ubuntu:22.04:LTSruby-sinatra2.0.8.1-2+deb11u1build0.22.04.1USN-7664-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References