CVE-2022-35920
CVE-2022-35920 · Improper Limitation of a Pathname to a Restricted Directory in sanic
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.3 · High · EPSS 1.2% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
sanic
- Versions
- >= 22.0.0, < 22.6.1: Affected
- >= 21.0.0, < 21.12.2: Affected
- < 20.12.7: Affected
No fix published
sanic PyPI
- Versions
- 22.3.0
- 22.3.1
- 22.3.2
- 22.6.0
- Affected ranges
- ECOSYSTEM: ≥ 22.0.0, < 22.6.1
Update to 22.6.1
sanic PyPI
- Versions
- 21.12.0
- 21.12.1
- 21.3.0
- 21.3.1
- 21.3.2
- 21.3.4
- 21.6.0
- 21.6.1
- 21.6.2
- 21.9.0
- 21.9.1
- 21.9.2
- 21.9.3
- Affected ranges
- ECOSYSTEM: ≥ 21.0.0, < 21.12.2
Update to 21.12.2
sanic PyPI
- Versions
- 0.1.0
- 0.1.1
- 0.1.3
- 0.1.4
- 0.1.5
- 0.1.6
- 0.1.7
- 0.1.8
- 0.1.9
- 0.2.0
- 0.3.0
- 0.3.1
- 0.4.0
- 0.4.1
- 0.5.0
- 0.5.1
- 0.5.2
- 0.5.4
- 0.6.0
- 0.7.0
- 0.8.0
- 0.8.1
- 0.8.2
- 0.8.3
- 18.12.0
- 19.12.0
- 19.12.2
- 19.12.3
- 19.12.4
- 19.12.5
- 19.3.1
- 19.6.0
- 19.6.2
- 19.6.3
- 19.9.0
- 20.12.0
- 20.12.1
- 20.12.2
- 20.12.3
- 20.12.4
- 20.12.5
- 20.12.6
- 20.3.0
- 20.6.0
- 20.6.1
- 20.6.2
- 20.6.3
- 20.9.0
- 20.9.1
- Affected ranges
- ECOSYSTEM: < 20.12.7
Update to 20.12.7
sanic PyPI
- Versions
- 0.1.0
- 0.1.1
- 0.1.3
- 0.1.4
- 0.1.5
- 0.1.6
- 0.1.7
- 0.1.8
- 0.1.9
- 0.2.0
- 0.3.0
- 0.3.1
- 0.4.0
- 0.4.1
- 0.5.0
- 0.5.1
- 0.5.2
- 0.5.4
- 0.6.0
- 0.7.0
- 0.8.0
- 0.8.1
- 0.8.2
- 0.8.3
- 18.12.0
- 19.12.0
- 19.12.2
- 19.12.3
- 19.12.4
- 19.12.5
- 19.3.1
- 19.6.0
- 19.6.2
- 19.6.3
- 19.9.0
- 20.12.0
- 20.12.1
- 20.12.2
- 20.12.3
- 20.12.4
- 20.12.5
- 20.12.6
- 20.3.0
- 20.6.0
- 20.6.1
- 20.6.2
- 20.6.3
- 20.9.0
- 20.9.1
- 21.12.0
- 21.12.1
- 21.3.0
- 21.3.1
- 21.3.2
- 21.3.4
- 21.6.0
- 21.6.1
- 21.6.2
- 21.9.0
- 21.9.1
- 21.9.2
- 21.9.3
- 22.3.0
- 22.3.1
- 22.3.2
- 22.6.0
- Affected ranges
- ECOSYSTEM: < 20.12.7 ∪ ≥ 22.0.0, < 22.6.1 ∪ ≥ 21.0.0, < 21.12.2
Update to 20.12.7; Update to 22.6.1; Update to 21.12.2