MediumGHSA-h97c-qp24-439v
Insecure State Generation in laravel/socialite
Published 15 May 2024 · Updated 29 Nov 2024
Affected package
laravel/socialiteComposer
- Affected
- >=1.0.0 <2.0.9
- Fixed in
- 2.0.9
Update to the fixed version for your release line, for example:
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.
Is GHSA-h97c-qp24-439v in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected laravel/socialite, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.