Advisory

PYSEC-2022-303

Also known as: CVE-2022-42731, GHSA-vw39-2wj9-4q86

Summary

The record has no summary.

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

Not rated by the source.

Dates

Published
2022-10-11 14:15 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django-mfa2

PyPI · All systems

Affected

  • introduced 0, fixed 2.5.1, introduced 2.6.0, fixed 2.6.1 (ecosystem)

Fixed versions

2.5.1, 2.6.1

Fix

  • Fixed version 2.5.1
    pip install --upgrade django-mfa2==2.5.1
  • 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: PyPA Advisory Database · CC BY 4.0

Sources & licences