VulnerabilityModified
CVE-2022-35920
Affected versions of sanic allow access to lateral directories when using `app.static` if using encoded `%2F` URLs.
HIGH 7.5EPSS 1.14%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.14%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 1.14% probability · 65th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- sanic project/sanic
- Source
- security-advisories@github.com
References
- https://github.com/sanic-org/sanic/issues/2478Exploit, Issue Tracking, Third Party Advisory
- https://github.com/sanic-org/sanic/pull/2495Patch, Third Party Advisory
- https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6Third Party Advisory
- https://github.com/sanic-org/sanic/issues/2478Exploit, Issue Tracking, Third Party Advisory
- https://github.com/sanic-org/sanic/pull/2495Patch, Third Party Advisory
- https://github.com/sanic-org/sanic/security/advisories/GHSA-8cw9-5hmv-77w6Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.