CVE-2021-21263

NameCVE-2021-21263
DescriptionLaravel 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs980095, 980899

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php-illuminate-database (PTS)buster5.7.27-1+deb10u1fixed
php-laravel-framework (PTS)bullseye6.20.14+dfsg-2+deb11u1fixed
sid, bookworm8.83.26+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php-illuminate-databasesourcebuster5.7.27-1+deb10u1
php-illuminate-databasesource(unstable)(unfixed)980899
php-laravel-frameworksource(unstable)6.20.11+dfsg-1980095

Notes

https://blog.laravel.com/security-laravel-62011-7302-8221-released
https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x
https://github.com/laravel/framework/pull/35865

Search for package or bug name: Reporting problems