CVE-2022-35920

    Dashboard / Vulnerabilities / CVE-2022-35920

    CVE-2022-35920

    Published: 1 Aug 2022Last Modified: 12 Aug 2026

    Summary: Improper Limitation of a Pathname to a Restricted Directory in sanic

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v20.12.6
    v20.12.5
    v20.12.4
    v20.12.3
    v20.12.2
    v20.12.1
    v20.12.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-35920 | CVE-DB