Advisory

GHSA-vw39-2wj9-4q86

Also known as: CVE-2022-42731, PYSEC-2022-303

Summary

django-mfa2 vulnerable to MFA Replay attack

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-10-11 19:00 UTC
Modified
2026-06-10 18:44 UTC

Affected packages and fixes

django-mfa2

PyPI · All systems

Affected

  • introduced 0, fixed 2.5.1 (ecosystem)

Fixed versions

2.5.1

Fix

  • Fixed version 2.5.1
    pip install --upgrade django-mfa2==2.5.1

django-mfa2

PyPI · All systems

Affected

  • introduced 2.6.0, fixed 2.6.1 (ecosystem)

Fixed versions

2.6.1

Fix

  • Fixed version 2.6.1
    pip install --upgrade django-mfa2==2.6.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences