{"id":"CVE-2024-32879","aliases":["GHSA-2gr8-3wc7-xhj3","PYSEC-2026-1931"],"url":"https://o3.security/vulnerability/CVE-2024-32879","summary":"social-auth-app-django Improper Handling of Case Sensitivity vulnerability","details":"### Impact\nDue 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.\n\n### Patches\nThis issue has been addressed by https://github.com/python-social-auth/social-app-django/pull/566 and fix released in 5.4.1.\n\n### Workarounds\nAn immediate workaround would be to change collation of the affected field:\n\n```mysql\nALTER TABLE `social_auth_usersocialauth` MODIFY `uid` varchar(255) COLLATE `utf8_bin`;\n```\n\n### References\nThis issue was discovered by folks at https://opencraft.com/.\n","published":"2024-04-24T19:42:14.642Z","modified":"2026-08-12T03:51:48.195768770Z","cvss":{"score":4.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"social-auth-app-django","fixedVersion":"5.4.1"}],"fix":{"url":"https://github.com/python-social-auth/social-app-django/commit/31c3e0c7edb187004d8abbde7e9c4f7ef9098138","label":"python-social-auth/social-app-django@31c3e0c"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32879.json"},{"type":"ADVISORY","url":"https://github.com/python-social-auth/social-app-django/security/advisories/GHSA-2gr8-3wc7-xhj3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32879"},{"type":"FIX","url":"https://github.com/python-social-auth/social-app-django/commit/31c3e0c7edb187004d8abbde7e9c4f7ef9098138"},{"type":"FIX","url":"https://github.com/python-social-auth/social-app-django/pull/566"},{"type":"PACKAGE","url":"https://github.com/python-social-auth/social-app-django"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:48.195768770Z"}}