Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. sanic
  4. ›
  5. CVE-2017-16762

CVE-2017-16762: Sanic arbitrary file read and directory traversal

May 17, 2022 (updated October 25, 2024)

Sanic before 0.5.1 allows reading arbitrary files with directory traversal, as demonstrated by the /static/..%2f substring.

References

  • github.com/advisories/GHSA-mpmf-hr8p-p49g
  • github.com/channelcat/sanic/issues/633
  • github.com/channelcat/sanic/releases/tag/0.5.1
  • github.com/pypa/advisory-database/tree/main/vulns/sanic/PYSEC-2017-40.yaml
  • github.com/sanic-org/sanic
  • github.com/sanic-org/sanic/pull/635
  • nvd.nist.gov/vuln/detail/CVE-2017-16762

Code Behaviors & Features

Detect and mitigate CVE-2017-16762 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.5.1

Fixed versions

  • 0.5.1

Solution

Upgrade to version 0.5.1 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/sanic/CVE-2017-16762.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:00 +0000.