Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS0yZ3I4LTN3YzcteGhqM84AA7Sd
social-auth-app-django affected by Improper Handling of Case Sensitivity
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/.
Permalink: https://github.com/advisories/GHSA-2gr8-3wc7-xhj3JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yZ3I4LTN3YzcteGhqM84AA7Sd
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 7 months ago
Updated: 3 months ago
CVSS Score: 4.9
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
Identifiers: GHSA-2gr8-3wc7-xhj3, CVE-2024-32879
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
- https://nvd.nist.gov/vuln/detail/CVE-2024-32879
- https://github.com/advisories/GHSA-2gr8-3wc7-xhj3
Blast Radius: 19.5
Affected Packages
pypi:social-auth-app-django
Dependent packages: 53Dependent repositories: 9,409
Downloads: 1,132,039 last month
Affected Version Ranges: < 5.4.1
Fixed in: 5.4.1
All affected 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
All unaffected versions: 5.4.1, 5.4.2