Security mailing lists by PureSourceCode

CVE-2022-42731

HIGH 7.5CVSS 3.1

django-mfa2 vulnerable to MFA Replay attack

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.

Published
11 Oct 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-294
Also known as
GHSA-vw39-2wj9-4q86PYSEC-2022-303
Sources
NVDJSONOSV GHSA-vw39-2wj9-4q86JSONOSV PYSEC-2022-303JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD django-mfa2_project django-mfa2
cpe:2.3:a:django-mfa2_project:django-mfa2:*:*:*:*:*:*:*:*
< 2.5.1 2.5.1
NVD django-mfa2_project django-mfa2
cpe:2.3:a:django-mfa2_project:django-mfa2:*:*:*:*:*:*:*:*
>= 2.6.0, < 2.6.1 2.6.1
OSV PyPI django-mfa2 < 2.5.1 2.5.1
OSV PyPI django-mfa2 >= 2.6.0, < 2.6.1 2.6.1
OSV PyPI django-mfa2 < 2.5.1; >= 2.6.0, < 2.6.1 2.5.1, 2.6.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 11 Oct 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Oct 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Oct 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.