sanic vulnerable to Path Traversal when using `app.static` if using encoded `%2F` URLs
Package
Affected versions
>= 22.0.0, < 22.6.1
>= 21.0.0, < 21.12.2
< 20.12.7
Patched versions
22.6.1
21.12.2
20.12.7
Description
Published by the National Vulnerability Database
Aug 1, 2022
Published to the GitHub Advisory Database
Aug 6, 2022
Reviewed
Aug 6, 2022
Last updated
Jan 31, 2023
Impact
Access to lateral directories when using
app.static
if using encoded%2F
URLs. Parent directory traversal is not impacted.Patches
References
sanic-org/sanic#2478
sanic-org/sanic#2495
For more information
If you have any questions or comments about this advisory:
References