Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| sanic-org / sanic | affected >= 22.0.0, < 22.6.1; affected >= 21.0.0, < 21.12.2; affected < 20.12.7 |
CWE
CWE-22
References
- https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6
- https://github.com/sanic-org/sanic/issues/2478
- https://github.com/sanic-org/sanic/pull/2495
ADP enrichment
No English description supplied.
No English description supplied.
No references supplied.