CVE-2017-16762: PYSEC-2017-40 - Sanic before 0.5.1 allows reading arbitrary files with directory traversal, as demonstrated by the /static/..%2f substring.

CVE-2017-16762 · Severity: low · CVSS 3 · Published 2017-11-10

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

Technologies: sanic (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2017-16762 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2017-16762 being exploited in the wild.
How severe is CVE-2017-16762?
Low severity, with a CVSS score of 3, published 10 November 2017.
Which products and versions are affected?
sanic (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.1.
Is there a fix for CVE-2017-16762?
Yes. sanic (PyPI): upgrade to 0.5.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2017-16762?
Check whether you run sanic (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • sanic (PyPI): upgrade to 0.5.1 or later
    pip install "sanic>=0.5.1"

Affected products

  • sanic (PyPI) ECOSYSTEM:introduced=0,fixed=0.5.1

Identifiers

  • CVE-2017-16762
  • GHSA-mpmf-hr8p-p49g
  • PYSEC-2017-40

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.