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 v4 NEW
โ€”
not yet in upstream
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

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 6.20.11+dfsg-1
sid Fixed 6.20.11+dfsg-1
forky Fixed 6.20.11+dfsg-1
bullseye Fixed 6.20.11+dfsg-1
bookworm Fixed 6.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

Community-verified mitigations for this CVE will appear above when contributors publish them.

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