Arbitrary Code Injection Affecting php-illuminate-database package, versions <5.7.27-1+deb10u1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.63% (76th 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-DEBIAN10-PHPILLUMINATEDATABASE-1064542
  • 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)

How to fix?

Upgrade Debian:10 php-illuminate-database to version 5.7.27-1+deb10u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-illuminate-database package and not the php-illuminate-database package as distributed by Debian. See How to fix? for Debian:10 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 Base Scores

version 3.1