Advisory

PYSEC-2017-40

Also known as: CVE-2017-16762, GHSA-mpmf-hr8p-p49g

Summary

The record has no summary.

Details

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

Severity

Not rated by the source.

Dates

Published
2017-11-10 09:29 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

sanic

PyPI · All systems

Affected

  • introduced 0, fixed 0.5.1 (ecosystem)

Fixed versions

0.5.1

Fix

  • Fixed version 0.5.1
    pip install --upgrade sanic==0.5.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences