CVEvulnerability
CVE-2022-35920
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-08-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.3 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
Description
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.
Affected configurations
• sanic project sanic (< 20.12.7)
• sanic project sanic (>= 21.0.0 < 21.12.2)
• sanic project sanic (>= 22.0.0 < 22.6.1)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/sanic-org/sanic/issues/2478 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/sanic-org/sanic/pull/2495 Patch, Third Party Advisory
- https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6 Third Party Advisory
- https://github.com/sanic-org/sanic/issues/2478 Exploit, Issue Tracking, Third Party Advisory
- https://github.com/sanic-org/sanic/pull/2495 Patch, Third Party Advisory
- https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6 Third Party Advisory