GHSA-xgxc-v2qg-chmh

Suggest an improvement
Source
https://github.com/advisories/GHSA-xgxc-v2qg-chmh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-xgxc-v2qg-chmh/GHSA-xgxc-v2qg-chmh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xgxc-v2qg-chmh
Aliases
Published
2021-04-08T18:11:48Z
Modified
2024-09-20T16:08:04.482170Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Directory Traversal in Django
Details

In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.

Database specific
{
    "nvd_published_at": "2021-04-06T15:15:00Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-04-08T18:11:26Z"
}
References

Affected packages

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.2a1
Fixed
2.2.20

Affected versions

2.*

2.2a1
2.2b1
2.2rc1
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.2.6
2.2.7
2.2.8
2.2.9
2.2.10
2.2.11
2.2.12
2.2.13
2.2.14
2.2.15
2.2.16
2.2.17
2.2.18
2.2.19

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0a1
Fixed
3.0.14

Affected versions

3.*

3.0a1
3.0b1
3.0rc1
3.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
3.0.8
3.0.9
3.0.10
3.0.11
3.0.12
3.0.13

PyPI / django

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.1a1
Fixed
3.1.8

Affected versions

3.*

3.1a1
3.1b1
3.1rc1
3.1
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6
3.1.7