module: github.com/sanic-org/sanic
package: sanic
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.
cves:
- CVE-2022-35920
links:
pr: https://github.com/sanic-org/sanic/pull/2495
context:
- https://github.com/sanic-org/sanic/issues/2478
- https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6
CVE-2022-35920 references github.com/sanic-org/sanic, which may be a Go module.
Description:
Sanic is an opensource python web server/framework. Affected versions of sanic allow access to lateral directories when using
app.staticif using encoded%2FURLs. Parent directory traversal is not impacted. Users are advised to upgrade. There is no known workaround for this issue.Links:
See doc/triage.md for instructions on how to triage this report.