Arbitrary Code Injection Affecting php-laravel-framework package, versions <6.20.11+dfsg-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. 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-DEBIAN11-PHPLARAVELFRAMEWORK-1062998
  • published20 Jan 2021
  • disclosed19 Jan 2021

Introduced: 19 Jan 2021

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

How to fix?

Upgrade Debian:11 php-laravel-framework to version 6.20.11+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-laravel-framework package and not the php-laravel-framework package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

Laravel is a web application framework. Versions of Laravel before 6.20.11, 7.30.2 and 8.22.1 contain a query binding exploitation. This same exploit applies to the illuminate/database package which is used by Laravel. 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