Resource Management Errors Affecting laravel/framework package, versions >=6.0.0, <6.20.12 >=7.0.0, <7.30.3 >=8.0.0, <8.22.1


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.09% (39th percentile)
Expand this section
NVD
5.3 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-LARAVELFRAMEWORK-1062744
  • published 18 Jan 2021
  • disclosed 18 Jan 2021
  • credit Taylor Otwell

How to fix?

Upgrade laravel/framework to version 6.20.12, 7.30.3, 8.22.1 or higher.

Overview

laravel/framework is a PHP framework for web artisans.

Affected versions of this package are vulnerable to Resource Management Errors. 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.