{"id":"GHSA-mpmf-hr8p-p49g","summary":"Sanic arbitrary file read and directory traversal","details":"Sanic before 0.5.1 allows reading arbitrary files with directory traversal, as demonstrated by the `/static/..%2f` substring.","aliases":["CVE-2017-16762","PYSEC-2017-40"],"modified":"2024-10-25T20:25:48.690505Z","published":"2022-05-17T00:19:52Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-04-22T22:42:56Z","nvd_published_at":"2017-11-10T09:29:00Z","cwe_ids":["CWE-22"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16762"},{"type":"WEB","url":"https://github.com/channelcat/sanic/issues/633"},{"type":"WEB","url":"https://github.com/sanic-org/sanic/pull/635"},{"type":"WEB","url":"https://github.com/channelcat/sanic/releases/tag/0.5.1"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/sanic/PYSEC-2017-40.yaml"},{"type":"PACKAGE","url":"https://github.com/sanic-org/sanic"}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mpmf-hr8p-p49g/GHSA-mpmf-hr8p-p49g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}