GitHub Advisoryadvisory · Packagist

GHSA-h97c-qp24-439v Insecure State Generation in laravel/socialite

MEDIUM Published 2024-05-15 Modified 2024-05-15 Official page ↗
Ecosystem
Packagist
Packages
laravel/socialite
Severity
Moderate
Weaknesses
CWE-331
Reviewed
2024-05-15

Affected packages

• Packagist laravel/socialite: >= 1.0.0, < 2.0.9 → 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.

Related

Weakness · CWE (1)

  • CWE-331 Insufficient Entropy weakness

References