GitHub Advisoryadvisory · PyPI
GHSA-mpmf-hr8p-p49g Sanic arbitrary file read and directory traversal
HIGH
Official page ↗
- Aliases
- CVE-2017-16762
- Ecosystem
- PyPI
- Packages
- sanic
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2024-04-22
Affected packages
• PyPI sanic: < 0.5.1 → fixed in 0.5.1
Description
Sanic before 0.5.1 allows reading arbitrary files with directory traversal, as demonstrated by the `/static/..%2f` substring.
Related
Alias · CVE (1)
- CVE-2017-16762 Sanic before 0.5.1 allows reading arbitrary files with directory traversal, as demonstrated by the /static/..%2f substring. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-16762 advisory
- https://github.com/channelcat/sanic/issues/633 web
- https://github.com/sanic-org/sanic/pull/635 web
- https://github.com/channelcat/sanic/releases/tag/0.5.1 web
- https://github.com/pypa/advisory-database/tree/main/vulns/sanic/PYSEC-2017-40.yaml web
- https://github.com/sanic-org/sanic package