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)

EPSS: 0.022 (80.5th percentile) — read the EPSS interpretation.

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.

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.