Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html
https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e
Source: Mitre, NVD
Published: 2022-05-02
Updated: 2024-11-21
Base Score: 5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N
Severity: Medium
Base Score: 7.5
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Severity: High
EPSS: 0.00424