id: PYSEC-2017-40 details: Sanic before 0.5.1 allows reading arbitrary files with directory traversal, as demonstrated by the /static/..%2f substring. affected: - package: name: sanic ecosystem: PyPI purl: pkg:pypi/sanic ranges: - type: ECOSYSTEM events: - introduced: "0" - fixed: 0.5.1 versions: - 0.1.0 - 0.1.1 - 0.1.3 - 0.1.4 - 0.1.5 - 0.1.6 - 0.1.7 - 0.1.8 - 0.1.9 - 0.2.0 - 0.3.0 - 0.3.1 - 0.4.0 - 0.4.1 - 0.5.0 references: - type: WEB url: https://github.com/channelcat/sanic/releases/tag/0.5.1 - type: REPORT url: https://github.com/channelcat/sanic/issues/633 - type: ADVISORY url: https://github.com/advisories/GHSA-mpmf-hr8p-p49g aliases: - CVE-2017-16762 - GHSA-mpmf-hr8p-p49g modified: "2021-07-05T00:01:27.045850Z" published: "2017-11-10T09:29:00Z"