VDB

CVE-2021-45452

CVE-2021-45452 PUBLISHED CVSS 5.300000190734863 MEDIUM

Directory-traversal in Django

Reported by mitre · Published January 4, 2022

django is fixed in 4.0.1, 3.2.11 and 2.2.26 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
djangoPyPI4.0.1, 3.2.11, 2.2.26
djangoBitnami4.0.1, 3.2.11, 2.2.26
djangodjangoproject4.0.1, 3.2.11, 2.2.26

Risk scores

CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
n/an/an/a
PyPIDjango2.2, 3.2, 4.0
n/an/a*
alpinepy3-django0

Timeline

  • Jan 4, 2022 CVE Published
  • Jan 5, 2022 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory (2 in total, the first dated here)
  • Jul 15, 2026 Coalition ESS Score
  • Oct 11, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-45452
vulnetix vdb fixes CVE-2021-45452

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-45452/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›