Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. laravel/framework
  4. ›
  5. CVE-2022-40482

CVE-2022-40482: Observable Discrepancy

April 25, 2023 (updated May 4, 2023)

The authentication method in Laravel 8.x through 9.x before 9.32.0 was discovered to be vulnerable to user enumeration via timeless timing attacks with HTTP/2 multiplexing. This is caused by the early return inside the hasValidCredentials method in the Illuminate\Auth\SessionGuard class when a user is found to not exist.

References

  • ephort.dk/blog/laravel-timing-attack-vulnerability/
  • github.com/ephort/laravel-user-enumeration-demo
  • github.com/laravel/framework/pull/44069
  • github.com/laravel/framework/releases/tag/v9.32.0
  • nvd.nist.gov/vuln/detail/CVE-2022-40482

Code Behaviors & Features

Detect and mitigate CVE-2022-40482 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.0.0 before 9.32.0

Fixed versions

  • 9.32.0

Solution

Upgrade to version 9.32.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy

Source file

packagist/laravel/framework/CVE-2022-40482.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:10 +0000.