Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. laravel/framework
  4. ›
  5. GHSA-jwvj-pwww-3mj5

GHSA-jwvj-pwww-3mj5: laravel framework Unexpected database bindings via requests

May 15, 2024

This is a follow-up to the security advisory https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x which addresses a few additional edge cases.

If a request is crafted where a field that is normally a non-array value is an array, and that input is not validated or cast to its expected type before being passed to the query builder, an unexpected number of query bindings can be added to the query. In some situations, this will simply lead to no results being returned by the query builder; however, it is possible certain queries could be affected in a way that causes the query to return unexpected results.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/2021-01-21.yaml
  • github.com/advisories/GHSA-jwvj-pwww-3mj5
  • github.com/laravel/framework
  • github.com/laravel/framework/security/advisories/GHSA-x7p5-p2c9-phvg

Code Behaviors & Features

Detect and mitigate GHSA-jwvj-pwww-3mj5 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 6.0.0 before 6.20.14, all versions starting from 7.0.0 before 7.30.4, all versions starting from 8.0.0 before 8.24.0

Fixed versions

  • 6.20.14
  • 7.30.4
  • 8.24.0

Solution

Upgrade to versions 6.20.14, 7.30.4, 8.24.0 or above.

Source file

packagist/laravel/framework/GHSA-jwvj-pwww-3mj5.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 13 May 2025 12:15:08 +0000.