MEDIUM
GHSA-h97c-qp24-439v
Insecure State Generation in laravel/socialite
Quick fix
GHSA-h97c-qp24-439v — laravel/socialite: upgrade to the fixed version with the command below.
composer require laravel/socialite:^2.0.9Details
laravel/socialite versions prior to 2.0.9 are found to have an insecure state generation mechanism, potentially exposing the OAuth authentication process to security risks. The issue has been addressed in version 2.0.9 by ensuring that the state is generated using a truly random approach, enhancing the security of the OAuth flow.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/laravel/socialite
Introduced in:
1.0.0Fixed in: 2.0.9Fix
composer require laravel/socialite:^2.0.9