# GHSA-H97C-QP24-439V: Insecure State Generation in laravel/socialite

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2024-05-15
- Modified: 2024-11-29

## Affected versions

- laravel/socialite (Packagist): from 1.0.0, fixed in 2.0.9

## Description

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.

## References

- https://github.com/laravel/socialite/pull/91
- https://github.com/laravel/socialite/commit/2ef13bae1484c44ede68e05486bce76cc0fa8dd8
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/socialite/2015-07-23.yaml
- https://github.com/laravel/socialite

Page: https://cve.now/GHSA-H97C-QP24-439V

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
