Sinatra before 2.2.0 does not validate that the expanded path matches public_dir when serving static files.
References
| Link | Resource |
|---|---|
| https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e | Patch Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html | Mailing List Third Party Advisory |
| https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e | Patch Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html | Mailing List Third Party Advisory |
Configurations
History
21 Nov 2024, 07:00
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e - Patch, Third Party Advisory | |
| References | () https://lists.debian.org/debian-lts-announce/2022/10/msg00034.html - Mailing List, Third Party Advisory |
28 Oct 2022, 07:15
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
09 May 2022, 17:27
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : 5.0
v3 : 7.5 |
| CWE | CWE-22 | |
| References | (MISC) https://github.com/sinatra/sinatra/pull/1683/commits/462c3ca1db53ed3cfc394cf5948e9c948ad1c10e - Patch, Third Party Advisory | |
| CPE | cpe:2.3:a:sinatrarb:sinatra:*:*:*:*:*:*:*:* |
02 May 2022, 05:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2022-05-02 05:15
Updated : 2024-11-21 07:00
NVD link : CVE-2022-29970
Mitre link : CVE-2022-29970
CVE.ORG link : CVE-2022-29970
JSON object : View
Products Affected
sinatrarb
- sinatra
debian
- debian_linux
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
