Path Traversal in Sinatrarb Sinatra

CVE-2022-29970

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

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.021 (81.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-29970: held from 0.022 to 0.021.

EPSS over last 30 days · oldest: 0.022 · newest: 0.021 · change: -0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-29970?
CVE-2022-29970 is a high-severity vulnerability in Sinatrarb Sinatra, classified under Path Traversal. CVSS score: 7.5/10. Published 2022-05-02.
How severe is CVE-2022-29970?
High severity. CVSS v3 base score is 7.5 out of 10.