What’s Vulnerable › Vulnerabilities
CVE-2022-42731
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-10-11 · updated 2026-06-17
- Weakness: CWE-294
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 products
- Django-Mfa2 Project Django-Mfa2: before 2.5.1; from 2.6.0 before 2.6.1 — fixed in 2.5.1, 2.6.1
How to fix
Upgrade to a fixed version: Django-Mfa2 Project Django-Mfa2 2.5.1, 2.6.1. Check the vendor advisory for mitigations.
References
- https://github.com/mkalioby/django-mfa2/blob/0936ea253354dd95cb127f09d0efa31324caef27/mfa/FIDO2.py#L58
- https://github.com/mkalioby/django-mfa2/releases/tag/v2.5.1-release
- https://github.com/mkalioby/django-mfa2/releases/tag/v2.6.1-release
- https://github.com/mkalioby/django-mfa2/blob/0936ea253354dd95cb127f09d0efa31324caef27/mfa/FIDO2.py#L58
- https://github.com/mkalioby/django-mfa2/releases/tag/v2.5.1-release
- https://github.com/mkalioby/django-mfa2/releases/tag/v2.6.1-release
Get alerted when CVE-2022-42731 or the next vulnerability affects your stack