CVE-2021-21263 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.laravel.com/security-laravel-62011-7302-8221-released | CVE | Vendor Advisory |
| https://github.com/laravel/framework/pull/35865 | CVE | PatchThird Party Advisory |
| https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x | CVE | Third Party Advisory |
| https://packagist.org/packages/illuminate/database | CVE | ProductThird Party Advisory |
| https://packagist.org/packages/laravel/framework | CVE | ProductThird Party Advisory |
| https://blog.laravel.com/security-laravel-62011-7302-8221-released | [email protected] | Vendor Advisory |
| https://github.com/laravel/framework/pull/35865 | [email protected] | PatchThird Party Advisory |
| https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x | [email protected] | Third Party Advisory |
| https://packagist.org/packages/illuminate/database | [email protected] | ProductThird Party Advisory |
| https://packagist.org/packages/laravel/framework | [email protected] | ProductThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| laravel laravel | >= 6.0.0, < 6.20.11 >= 7.0.0, < 7.30.2 >= 8.0.0, < 8.22.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 19, 2022 | Reanalysis | [email protected] |
| Jan 29, 2021 | Initial Analysis | [email protected] |