CVE-2024-32879
JSON

4.9medium

social-auth-app-django Improper Handling of Case Sensitivity vulnerability

Severity
4.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.68% (higher than 47% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-2gr8-3wc7-xhj3PYSEC-2026-1931

Description

Python Social Auth is a social authentication/registration mechanism. Prior to version 5.4.1, due to default case-insensitive collation in MySQL or MariaDB databases, third-party authentication user IDs are not case-sensitive and could cause different IDs to match. This issue has been addressed by a fix released in version 5.4.1. An immediate workaround would be to change collation of the affected field.

Affected

Product or packageVersionsReported by
python-social-auth social-app-django< 5.4.1, before 5.4.1CVE List
social-auth-app-django (PyPI)before 5.4.1GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
GitHub4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
PyPA Advisory Database4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

Classification

CWE-178CWE-303

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Python Social Auth is a social authentication/registration mechanism. Prior to version 5.4.1, due to default case-insensitive collation in MySQL or MariaDB databases, third-party authentication user IDs are not case-sensitive and could cause different IDs to match. This issue has been addressed by a fix released in version 5.4.1. An immediate workaround would be to change collation of the affected field.

GitHub Advisory Database
Impact

Due to default case-insensitive collation in MySQL or MariaDB databases, third-party authentication user IDs are not case-sensitive and could cause different IDs to match.

Patches

This issue has been addressed by https://github.com/python-social-auth/social-app-django/pull/566 and fix released in 5.4.1.

Workarounds

An immediate workaround would be to change collation of the affected field:

ALTER TABLE `social_auth_usersocialauth` MODIFY `uid` varchar(255) COLLATE `utf8_bin`;
References

This issue was discovered by folks at https://opencraft.com/.

NVD (es)

Python Social Auth es un mecanismo de autenticación/registro social. Antes de la versión 5.4.1, debido a la intercalación predeterminada que no distingue entre mayúsculas y minúsculas en las bases de datos MySQL o MariaDB, los ID de usuario de autenticación de terceros no distinguen entre mayúsculas y minúsculas y podrían hacer que coincidan diferentes ID. Este problema se solucionó mediante una solución publicada en la versión 5.4.1. Un workaround inmediata sería cambiar la clasificación del campo afectado.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-32879 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-2gr8-3wc7-xhj3 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-32879 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1931 changed 2026-07-07CC-BY-4.0