CVE-2022-35920
Dashboard / Vulnerabilities / CVE-2022-35920
CVE-2022-35920
Published: 1 Aug 2022Last Modified: 12 Aug 2026
Aliases:
Summary: Improper Limitation of a Pathname to a Restricted Directory in sanic
Details: 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.
References: https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35920.json, https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6, https://nvd.nist.gov/vuln/detail/CVE-2022-35920, https://github.com/sanic-org/sanic/issues/2478, https://github.com/sanic-org/sanic/pull/2495
Affected packages
Package
Name:
Purl:
Affected ranges
Affected versions
v20.12.6
v20.12.5
v20.12.4
v20.12.3
v20.12.2
v20.12.1
v20.12.0
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
