chore(deps): update dependency social-auth-app-django to v5 [security]
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| social-auth-app-django | ==3.1.0 -> ==5.4.1 |
GitHub Vulnerability Alerts
CVE-2024-32879
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_association` MODIFY `uid` varchar(255) COLLATE `utf8_bin`;
References
This issue was discovered by folks at https://opencraft.com/.
Release Notes
python-social-auth/social-app-django (social-auth-app-django)
v5.4.1
Changed
- Added reverse migration for JSON field
- Fixed improper handling of case sensitivity with MySQL/MariaDB (CVE-2024-32879)
v5.4.0
Changed
- Improved JSON field migration performance
- Introduce configuration to request POST only requests for social authentication
- Updated list of supported Django and Python versions
v5.3.0
Changed
- Uses Django native JSON field
v5.2.0
Changed
- Removed support for Django<3.2
- Fixed missing migration issue
v5.1.0
Changed
- Compatibility with recent Django and Python versions
- Coding style improvements
- Improved error handling in SocialAuthExceptionMiddleware
v5.0.0
Changed
- Removed compat shims for obsolete Django versions
- Switch from deprecated
django.conf.urls.urltodjango.urls.path - Use query
.exists()instead of.count() > 0 - Added testing for Django 3.0
- Drop support for Python 2
- Django generic
JSONFieldsupport, details documented here - Django 3.2+ compatibility
- Use
_default_managerinstead ofobjects
v4.0.0
Changed
- Dropped support for older Django versions (1.8, 1.9, 1.10, 2.0)
- Fix
TypeErrorwhen continuing a pipeline in Django 2.1
v3.4.0
Changed
- Correct release mechanism
v3.3.0
Changed
- Updated release and tests mechanism
Configuration
📅 Schedule: Branch creation - "" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.