CVE-2022-35920

Sanic is an opensource python web server/framework. Affected versions of sanic allow access to lateral directories when using `app.static` if using encoded `%2F` URLs. Parent directory traversal is not impacted. Users are advised to upgrade. There is no known workaround for this issue.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:sanic_project:sanic:*:*:*:*:*:*:*:*
cpe:2.3:a:sanic_project:sanic:*:*:*:*:*:*:*:*
cpe:2.3:a:sanic_project:sanic:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:11

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 7.5
v2 : unknown
v3 : 8.3
References () https://github.com/sanic-org/sanic/issues/2478 - Exploit, Issue Tracking, Third Party Advisory () https://github.com/sanic-org/sanic/issues/2478 - Exploit, Issue Tracking, Third Party Advisory
References () https://github.com/sanic-org/sanic/pull/2495 - Patch, Third Party Advisory () https://github.com/sanic-org/sanic/pull/2495 - Patch, Third Party Advisory
References () https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6 - Third Party Advisory () https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6 - Third Party Advisory

10 Aug 2022, 15:16

Type Values Removed Values Added
CPE cpe:2.3:a:sanic_project:sanic:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
References (MISC) https://github.com/sanic-org/sanic/issues/2478 - (MISC) https://github.com/sanic-org/sanic/issues/2478 - Exploit, Issue Tracking, Third Party Advisory
References (CONFIRM) https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6 - (CONFIRM) https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6 - Third Party Advisory
References (MISC) https://github.com/sanic-org/sanic/pull/2495 - (MISC) https://github.com/sanic-org/sanic/pull/2495 - Patch, Third Party Advisory

01 Aug 2022, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-08-01 22:15

Updated : 2024-11-21 07:11


NVD link : CVE-2022-35920

Mitre link : CVE-2022-35920

CVE.ORG link : CVE-2022-35920


JSON object : View

Products Affected

sanic_project

  • sanic
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')