sanic-org/sanic · Security
Sanic arbitrary file read and directory traversal
- GHSA ID
- GHSA-mpmf-hr8p-p49g
- CVE ID
- CVE-2017-16762
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 7.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Description
Sanic before 0.5.1 allows reading arbitrary files with directory traversal, as demonstrated by the /static/..%2f substring.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-16762 ↗
- https://github.com/channelcat/sanic/issues/633 ↗
- https://github.com/channelcat/sanic/releases/tag/0.5.1 ↗
- https://github.com/sanic-org/sanic/pull/635 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/sanic/PYSEC-2017-40.yaml ↗
- https://github.com/advisories/GHSA-mpmf-hr8p-p49g ↗