GHSA-mpmf-hr8p-p49g

Suggest an improvement
Source
https://github.com/advisories/GHSA-mpmf-hr8p-p49g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mpmf-hr8p-p49g/GHSA-mpmf-hr8p-p49g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mpmf-hr8p-p49g
Aliases
Published
2022-05-17T00:19:52Z
Modified
2024-10-25T20:25:48Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-22T22:42:56Z",
    "nvd_published_at": "2017-11-10T09:29:00Z",
    "severity": "HIGH"
}
References

Affected packages

PyPI / sanic

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.5.1

Affected versions

0.*
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"