VDB
Sign up
—

PYSEC-2022-303

Quick fix

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

pip install --upgrade 'django-mfa2>=2.5.1'

Details

mfa/FIDO2.py in django-mfa2 before 2.5.1 and 2.6.x before 2.6.1 allows a replay attack that could be used to register another device for a user. The device registration challenge is not invalidated after usage.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django-mfa2
Introduced in: 0Fixed in: 2.5.1
Fixpip install --upgrade 'django-mfa2>=2.5.1'

References