CVE-2022-35920

High

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.

SeverityHigh
CVSS8.3
Exploit probability—
ProductSanic
PublishedAug 1, 2022
First seenAug 1, 2022

How to fix

Update
  • sanic_project sanic20.12.7, 21.12.2, 22.6.1 or later
  • sanic22.6.1, 21.12.2, 20.12.7 or later

Affected products

ProductAffected versionsFixed in
sanic_project sanicv < 20.12.7, 21.0.0 ≤ v < 21.12.2, 22.0.0 ≤ v < 22.6.120.12.7, 21.12.2, 22.6.1
sanicPyPI22.0.0 ≤ v < 22.6.1, 21.0.0 ≤ v < 21.12.2, v < 20.12.722.6.1, 21.12.2, 20.12.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.