VDB
Sign up
—

PYSEC-2022-3

Quick fix

PYSEC-2022-3 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=2.2.26'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 2.2Fixed in: 2.2.26
Fixpip install --upgrade 'django>=2.2.26'

References