SCA: security update for django-mfa3 (GHSA-3r7g-wrpr-j5g4)

high Tenable Cloud Security Plugin ID 409674

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- django-mfa3 is a library that implements multi factor authentication for the django web framework. It
achieves this by modifying the regular login view. Django however has a second login view for its admin
area. This second login view was not modified, so the multi factor authentication can be bypassed. Users
are affected if they have activated both django-mfa3 (< 0.5.0) and django.contrib.admin and have not taken
any other measures to prevent users from accessing the admin login view. The issue has been fixed in
django-mfa3 0.5.0. It is possible to work around the issue by overwriting the admin login route, e.g. by
adding the following URL definition *before* the admin routes: url('admin/login/', lambda request:
redirect(settings.LOGIN_URL) (CVE-2022-24857)

See Also

https://github.com/advisories/GHSA-3r7g-wrpr-j5g4

Plugin Details

Severity: High

ID: 409674

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 4.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2022-24857

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.5

Threat Score: 6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/22/2022

Vulnerability Publication Date: 4/15/2022

Reference Information

CVE: CVE-2022-24857

cwe: CWE-287