Name | CVE-2021-45452 |
Description | Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal if crafted filenames are directly passed to it. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3191-1 |
Debian Bugs | 1003113 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
python-django (PTS) | bullseye | 2:2.2.28-1~deb11u2 | fixed |
| bullseye (security) | 2:2.2.28-1~deb11u4 | fixed |
| bookworm, bookworm (security) | 3:3.2.19-1+deb12u1 | fixed |
| sid, trixie | 3:4.2.18-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[stretch] - python-django <postponed> (Minor issue; fix in next update)
https://www.djangoproject.com/weblog/2022/jan/04/security-releases/
https://github.com/django/django/commit/8d2f7cff76200cbd2337b2cf1707e383eb1fb54b (3.2.11)
https://github.com/django/django/commit/4cb35b384ceef52123fc66411a73c36a706825e1 (2.2.26)