Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-29970

published

sinatra: path traversal possible outside of public_dir when serving static files

Title from Red Hat VEX

Published
02 May 2022, 00:00:00 UTC
Updated
04 Nov 2025, 16:09:45 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — n/an/a Affected Not stated mitre
AlmaLinux 8 pcs Advisory build 0.10.12-6.el8.alma ALSA-2022:4661
Debian bullseye ruby-sinatra Advisory build 2.0.8.1-2+deb11u1 DLA-3877-1
Oracle Linux 8 pcsx86_64 Advisory build 0:0.10.12-6.0.1.el8_6.1 ELSA-2022-9416
Red Hat Enterprise Linux RHEL-8 pcsaarch64 Advisory build 0.10.12-6.el8_6.1 RHSA-2022:4661
Ubuntu bionic ruby-sinatra Advisory build 1.4.8-1ubuntu0.1~esm2 USN-7664-1
Rocky Linux 8 libdbsrc Listed in advisory Not stated RLSA-2022:8506
AlmaLinux 8 pcs-snmp Advisory build 0.10.12-6.el8.alma ALSA-2022:4661
Show 67 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 pcs Advisory build 0.11.1-10.el9 ALSA-2022:4587
AlmaLinux 9 pcs-snmp Advisory build 0.11.1-10.el9 ALSA-2022:4587
Debian buster ruby-sinatra Advisory build 2.0.5-4+deb10u1 DLA-3166-1
Oracle Linux 8 pcs-snmpx86_64 Advisory build 0:0.10.12-6.0.1.el8_6.1 ELSA-2022-9416
Oracle Linux 9 pcsaarch64 Advisory build 0:0.11.1-10.el9_0.1 ELSA-2022-9513
Oracle Linux 9 pcsx86_64 Advisory build 0:0.11.1-10.el9_0.1 ELSA-2022-9513
Oracle Linux 9 pcs-snmpaarch64 Advisory build 0:0.11.1-10.el9_0.1 ELSA-2022-9513
Oracle Linux 9 pcs-snmpx86_64 Advisory build 0:0.11.1-10.el9_0.1 ELSA-2022-9513
Red Hat Enterprise Linux RHEL-8 pcsaarch64 Advisory build 0.10.4-6.el8_2.2 RHSA-2022:2253
Red Hat Enterprise Linux RHEL-8 pcsaarch64 Advisory build 0.10.8-1.el8_4.1 RHSA-2022:2256
Red Hat Enterprise Linux RHEL-8 pcsppc64le Advisory build 0.10.12-6.el8_6.1 RHSA-2022:4661
Red Hat Enterprise Linux RHEL-8 pcsppc64le Advisory build 0.10.2-4.el8_1.2 RHSA-2022:2255
Red Hat Enterprise Linux RHEL-8 pcsppc64le Advisory build 0.10.4-6.el8_2.2 RHSA-2022:2253
Red Hat Enterprise Linux RHEL-8 pcsppc64le Advisory build 0.10.8-1.el8_4.1 RHSA-2022:2256
Red Hat Enterprise Linux RHEL-8 pcss390x Advisory build 0.10.12-6.el8_6.1 RHSA-2022:4661
Red Hat Enterprise Linux RHEL-8 pcss390x Advisory build 0.10.4-6.el8_2.2 RHSA-2022:2253
Red Hat Enterprise Linux RHEL-8 pcss390x Advisory build 0.10.8-1.el8_4.1 RHSA-2022:2256
Red Hat Enterprise Linux RHEL-8 pcssrc Advisory build 0.10.12-6.el8_6.1 RHSA-2022:4661
Red Hat Enterprise Linux RHEL-8 pcssrc Advisory build 0.10.2-4.el8_1.2 RHSA-2022:2255
Red Hat Enterprise Linux RHEL-8 pcssrc Advisory build 0.10.4-6.el8_2.2 RHSA-2022:2253
Red Hat Enterprise Linux RHEL-8 pcssrc Advisory build 0.10.8-1.el8_4.1 RHSA-2022:2256
Red Hat Enterprise Linux RHEL-8 pcsx86_64 Advisory build 0.10.12-6.el8_6.1 RHSA-2022:4661
Red Hat Enterprise Linux RHEL-8 pcsx86_64 Advisory build 0.10.2-4.el8_1.2 RHSA-2022:2255
Red Hat Enterprise Linux RHEL-8 pcsx86_64 Advisory build 0.10.4-6.el8_2.2 RHSA-2022:2253
Red Hat Enterprise Linux RHEL-8 pcsx86_64 Advisory build 0.10.8-1.el8_4.1 RHSA-2022:2256
Red Hat Enterprise Linux RHEL-8 pcs-snmpaarch64 Advisory build 0.10.12-6.el8_6.1 RHSA-2022:4661
Red Hat Enterprise Linux RHEL-8 pcs-snmpaarch64 Advisory build 0.10.4-6.el8_2.2 RHSA-2022:2253
Red Hat Enterprise Linux RHEL-8 pcs-snmpaarch64 Advisory build 0.10.8-1.el8_4.1 RHSA-2022:2256
Red Hat Enterprise Linux RHEL-8 pcs-snmpppc64le Advisory build 0.10.12-6.el8_6.1 RHSA-2022:4661
Red Hat Enterprise Linux RHEL-8 pcs-snmpppc64le Advisory build 0.10.2-4.el8_1.2 RHSA-2022:2255
Red Hat Enterprise Linux RHEL-8 pcs-snmpppc64le Advisory build 0.10.4-6.el8_2.2 RHSA-2022:2253
Red Hat Enterprise Linux RHEL-8 pcs-snmpppc64le Advisory build 0.10.8-1.el8_4.1 RHSA-2022:2256
Red Hat Enterprise Linux RHEL-8 pcs-snmps390x Advisory build 0.10.12-6.el8_6.1 RHSA-2022:4661
Red Hat Enterprise Linux RHEL-8 pcs-snmps390x Advisory build 0.10.4-6.el8_2.2 RHSA-2022:2253
Red Hat Enterprise Linux RHEL-8 pcs-snmps390x Advisory build 0.10.8-1.el8_4.1 RHSA-2022:2256
Red Hat Enterprise Linux RHEL-8 pcs-snmpx86_64 Advisory build 0.10.12-6.el8_6.1 RHSA-2022:4661
Red Hat Enterprise Linux RHEL-8 pcs-snmpx86_64 Advisory build 0.10.2-4.el8_1.2 RHSA-2022:2255
Red Hat Enterprise Linux RHEL-8 pcs-snmpx86_64 Advisory build 0.10.4-6.el8_2.2 RHSA-2022:2253
Red Hat Enterprise Linux RHEL-8 pcs-snmpx86_64 Advisory build 0.10.8-1.el8_4.1 RHSA-2022:2256
Red Hat Enterprise Linux RHEL-9 pcsaarch64 Advisory build 0.11.1-10.el9_0.1 RHSA-2022:4587
Red Hat Enterprise Linux RHEL-9 pcsppc64le Advisory build 0.11.1-10.el9_0.1 RHSA-2022:4587
Red Hat Enterprise Linux RHEL-9 pcss390x Advisory build 0.11.1-10.el9_0.1 RHSA-2022:4587
Red Hat Enterprise Linux RHEL-9 pcssrc Advisory build 0.11.1-10.el9_0.1 RHSA-2022:4587
Red Hat Enterprise Linux RHEL-9 pcsx86_64 Advisory build 0.11.1-10.el9_0.1 RHSA-2022:4587
Red Hat Enterprise Linux RHEL-9 pcs-snmpaarch64 Advisory build 0.11.1-10.el9_0.1 RHSA-2022:4587
Red Hat Enterprise Linux RHEL-9 pcs-snmpppc64le Advisory build 0.11.1-10.el9_0.1 RHSA-2022:4587
Red Hat Enterprise Linux RHEL-9 pcs-snmps390x Advisory build 0.11.1-10.el9_0.1 RHSA-2022:4587
Red Hat Enterprise Linux RHEL-9 pcs-snmpx86_64 Advisory build 0.11.1-10.el9_0.1 RHSA-2022:4587
Ubuntu focal ruby-rack-protection Advisory build 2.0.8.1-1ubuntu0.1~esm2 USN-7664-1
Ubuntu focal ruby-sinatra Advisory build 2.0.8.1-1ubuntu0.1~esm2 USN-7664-1
Ubuntu focal ruby-sinatra-contrib Advisory build 2.0.8.1-1ubuntu0.1~esm2 USN-7664-1
Ubuntu jammy ruby-rack-protection Advisory build 2.0.8.1-2+deb11u1build0.22.04.1 USN-7664-1
Ubuntu jammy ruby-sinatra Advisory build 2.0.8.1-2+deb11u1build0.22.04.1 USN-7664-1
Ubuntu jammy ruby-sinatra-contrib Advisory build 2.0.8.1-2+deb11u1build0.22.04.1 USN-7664-1
Ubuntu xenial ruby-sinatra Advisory build 1.4.7-3ubuntu0.1~esm2 USN-7664-1
Rocky Linux 8 libdb-cxxx86_64 Listed in advisory Not stated RLSA-2022:8506
Rocky Linux 8 libdb-cxx-debuginfox86_64 Listed in advisory Not stated RLSA-2022:8506
Rocky Linux 8 libdb-debuginfox86_64 Listed in advisory Not stated RLSA-2022:8506
Rocky Linux 8 libdb-debugsourcex86_64 Listed in advisory Not stated RLSA-2022:8506
Rocky Linux 8 libdb-sql-debuginfox86_64 Listed in advisory Not stated RLSA-2022:8506
Rocky Linux 8 libdb-sql-devel-debuginfox86_64 Listed in advisory Not stated RLSA-2022:8506
Rocky Linux 8 libdb-utils-debuginfox86_64 Listed in advisory Not stated RLSA-2022:8506
Rocky Linux 8 pcsaarch64 Listed in advisory Not stated RLSA-2022:4661
Rocky Linux 8 pcssrc Listed in advisory Not stated RLSA-2022:4661
Rocky Linux 8 pcsx86_64 Listed in advisory Not stated RLSA-2022:4661
Rocky Linux 8 pcs-snmpaarch64 Listed in advisory Not stated RLSA-2022:4661
Rocky Linux 8 pcs-snmpx86_64 Listed in advisory Not stated RLSA-2022:4661

Description

Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

17

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a n/a n/a (affected) mitre · cna

Weaknesses

1
  • n/a (mitre · cna)

References

3

Provider assertions

2

mitre · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
df1c722f83d551f48c52a31f2d0fec28da51ba383df86e50accaf5e0e1b0d4c0
Ingested
23 Sep 2026, 07:59:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected