Bug 1516414 (CVE-2017-16762) - CVE-2017-16762 sanic: Directory traversal in def _handler function sanic/sanic/static.py
Summary: CVE-2017-16762 sanic: Directory traversal in def _handler function sanic/sani...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-16762
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1516416
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-22 15:10 UTC by Pedro Sampaio
Modified: 2019-09-29 14:26 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-11-23 09:30:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2017-11-22 15:10:23 UTC
Sanic before 0.5.1 allows reading arbitrary files with directory traversal, as demonstrated by the /static/..%2f substring. 

Upstream bug:

https://github.com/channelcat/sanic/issues/633

Upstream patch:

https://github.com/channelcat/sanic/releases/tag/0.5.1

Comment 1 Pedro Sampaio 2017-11-22 15:11:13 UTC
Created python-sanic tracking bugs for this issue:

Affects: fedora-all [bug 1516416]


Note You need to log in before you can comment on or make changes to this bug.