CVE-2021-21263

unknown
Published 2021-01-19 · Modified 2026-03-13
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVSS v2
VIR risk

Description

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-21263

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed6.20.11+dfsg-1
debian debianbullseyefixed6.20.11+dfsg-1
debian debianforkyfixed6.20.11+dfsg-1
debian debiansidfixed6.20.11+dfsg-1
debian debiantrixiefixed6.20.11+dfsg-1

Package impact

EcosystemPackageVulnerableFixed
php Packagistlaravel/framework>=8.0.0,<8.22.18.22.1
php Packagistilluminate/database>=7.0.0,<7.30.37.30.3
php Packagistilluminate/database>=8.0.0,<8.22.18.22.1
php Packagistilluminate/database>=6.0.0,<6.20.126.20.12
php Packagistlaravel/framework>=6.0.0,<6.20.116.20.11
php Packagistlaravel/framework>=7.0.0,<7.30.27.30.2

References

Verify integrity in audit chain (admin only). AS-IS.