{"id":"CVE-2024-32879","aliases":["CVE-2024-32879","GHSA-2gr8-3wc7-xhj3","PYSEC-2026-1931"],"related":[],"kind":"vulnerability","state":"published","title":"social-auth-app-django Improper Handling of Case Sensitivity vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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/.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-04-24T18:47:21.000Z","modified":"2026-09-10T03:50:11.181Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-178","CWE-303"],"affected":[{"ranges":[{"version":"< 5.4.1","status":"affected"}],"vendor":"python-social-auth","product":"social-app-django","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"5.4.1","status":"affected"}],"vendor":"python-social-auth","product":"social-app-django","cpe":"cpe:2.3:a:python-social-auth:social-app-django:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.4.1"}],"ecosystem":"PyPI","package":"social-auth-app-django","purl":"pkg:pypi/social-auth-app-django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.4.1"}],"ecosystem":"PyPI","package":"social-auth-app-django","purl":"pkg:pypi/social-auth-app-django","source":"pysec"}],"references":[{"url":"https://github.com/python-social-auth/social-app-django/security/advisories/GHSA-2gr8-3wc7-xhj3","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/python-social-auth/social-app-django/pull/566","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/python-social-auth/social-app-django/commit/31c3e0c7edb187004d8abbde7e9c4f7ef9098138","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32879","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/python-social-auth/social-app-django","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/social-auth-app-django","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-2gr8-3wc7-xhj3","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-29T19:27:52.308Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-32879","url":"https://www.cve.org/CVERecord?id=CVE-2024-32879","licence":"CVE Terms of Use","modified":"2024-08-02T02:20:35.665Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2gr8-3wc7-xhj3","url":"https://github.com/advisories/GHSA-2gr8-3wc7-xhj3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.181Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-32879","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-32879","licence":"Public domain","modified":"2026-06-17T07:30:36.413Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1931","url":"https://osv.dev/vulnerability/PYSEC-2026-1931","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:02.259Z"}],"updatedAt":"2026-11-25T22:58:39.577Z","epss":{"score":0.00678,"percentile":0.47477,"date":"2026-11-30T12:00:22.000Z"}}