VDB
Sign up
HIGH7.5

PYSEC-2022-304

Quick fix

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

pip install --upgrade 'django>=5b6b257fa7ec37ff27965358800c67e2dd11c924'

Details

In Django 3.2 before 3.2.16, 4.0 before 4.0.8, and 4.1 before 4.1.2, internationalized URLs were subject to a potential denial of service attack via the locale parameter, which is treated as a regular expression.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 0Fixed in: 5b6b257fa7ec37ff27965358800c67e2dd11c924
Fixpip install --upgrade 'django>=5b6b257fa7ec37ff27965358800c67e2dd11c924'

References