PyPi: Django-Mfa2

CVE-2022-42731

Safety vulnerability ID: 51418

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Oct 11, 2022 Updated at Nov 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

Django-mfa2 2.5.1 and 2.6.1 include a fix for CVE-2022-42731: 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 package

django-mfa2

Latest version: 3.0

Allows user to add 2FA to their accounts

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2022-42731.


MISC:https://github.com/mkalioby/django-mfa2/blob/0936ea253354dd95cb127f09d0efa31324caef27/mfa/FIDO2.py#L58: https://github.com/mkalioby/django-mfa2/blob/0936ea253354dd95cb127f09d0efa31324caef27/mfa/FIDO2.py#L58
MISC:https://github.com/mkalioby/django-mfa2/releases/tag/v2.5.1-release: https://github.com/mkalioby/django-mfa2/releases/tag/v2.5.1-release
MISC:https://github.com/mkalioby/django-mfa2/releases/tag/v2.6.1-release: https://github.com/mkalioby/django-mfa2/releases/tag/v2.6.1-release

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
HIGH
Availability Availability (A)
NONE