CVE-2022-42731
JSON

7.5high

django-mfa2 vulnerable to MFA Replay attack

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.51% (higher than 75% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-vw39-2wj9-4q86PYSEC-2022-303

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
django-mfa2 (PyPI)before 2.5.1, from 2.6.0 before 2.6.1GitHub Advisory Database, PyPA Advisory Database
django-mfa2_project django-mfa2before 2.5.1, from 2.6.0 before 2.6.1NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Classification

CWE-294

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El archivo mfa/FIDO2.py en django-mfa2 versiones anteriores a 2.5.1 y 2.6.x anteriores a 2.6.1, permite un ataque de repetición que podría ser usado para registrar otro dispositivo para un usuario. El desafío de registro del dispositivo no es invalidado después de su uso

References

Sources

SourceRecordLicence
CVE ListCVE-2022-42731 changed 2025-05-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-vw39-2wj9-4q86 changed 2026-06-10CC-BY-4.0
NVDCVE-2022-42731 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2022-303 changed 2026-06-10CC-BY-4.0