Sanic is an opensource python web server/framework. Affected versions of sanic allow access to lateral directories when using app.static if using encoded %2F URLs. Parent directory traversal is not impacted. Users are advised to upgrade. There is no known workaround for this issue.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35920.json"
}{
"cpe": "cpe:2.3:a:sanic_project:sanic:*:*:*:*:*:*:*:*",
"source": "CPE_RANGE",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "20.12.7"
},
{
"introduced": "21.0.0"
},
{
"fixed": "21.12.2"
},
{
"introduced": "22.0.0"
},
{
"fixed": "22.6.1"
}
]
}