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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (46th percentile)

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 IDSNYK-PHP-LARAVELFRAMEWORK-1062744
  • published18 Jan 2021
  • disclosed18 Jan 2021
  • creditTaylor Otwell

Introduced: 18 Jan 2021

CVE-2021-21263  (opens in a new tab)
CWE-399  (opens in a new tab)
CWE-915  (opens in a new tab)
First added by Snyk

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.

CVSS Scores

version 3.1