Skip to content

Sanic arbitrary file read and directory traversal

High severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Apr 22, 2024

Package

pip sanic (pip)

Affected versions

< 0.5.1

Patched versions

0.5.1

Description

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

References

Published by the National Vulnerability Database Nov 10, 2017
Published to the GitHub Advisory Database May 17, 2022
Reviewed Apr 22, 2024
Last updated Apr 22, 2024

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2017-16762

GHSA ID

GHSA-mpmf-hr8p-p49g

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.