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-xhj3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0yZ3I4LTN3YzcteGhqM84AA7Sd
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 8 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

EPSS Percentage: 0.00045
EPSS Percentile: 0.16558

Identifiers: GHSA-2gr8-3wc7-xhj3, CVE-2024-32879
References: Repository: https://github.com/python-social-auth/social-app-django
Blast Radius: 19.5

Affected Packages

pypi:social-auth-app-django
Dependent packages: 53
Dependent repositories: 9,409
Downloads: 1,242,258 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