{"schema_version":"1.7.3","id":"GHSA-2gr8-3wc7-xhj3","published":"2024-04-24T18:47:21Z","modified":"2026-07-07T17:57:19.766050205Z","aliases":["CVE-2024-32879","PYSEC-2026-1931"],"related":["CVE-2024-32879"],"summary":"social-auth-app-django affected by Improper Handling of Case Sensitivity","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","affected":[{"package":{"name":"social-auth-app-django","ecosystem":"PyPI","purl":"pkg:pypi/social-auth-app-django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.1"}]}],"versions":["0.0.1","0.1.0","1.0.0","1.0.1","1.1.0","1.2.0","2.0.0","2.1.0","3.0.0","3.1.0","3.3.0","3.4.0","4.0.0","5.0.0","5.1.0","5.2.0","5.3.0","5.4.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-2gr8-3wc7-xhj3/GHSA-2gr8-3wc7-xhj3.json"}}],"references":[{"type":"WEB","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":"WEB","url":"https://github.com/python-social-auth/social-app-django/pull/566"},{"type":"WEB","url":"https://github.com/python-social-auth/social-app-django/commit/31c3e0c7edb187004d8abbde7e9c4f7ef9098138"},{"type":"PACKAGE","url":"https://github.com/python-social-auth/social-app-django"}],"database_specific":{"cwe_ids":["CWE-178","CWE-303"],"github_reviewed":true,"github_reviewed_at":"2024-04-24T18:47:21Z","nvd_published_at":"2024-04-24T20:15:07Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}