Arbitrary Code Injection Affecting php-laravel-framework package, versions <6.20.11+dfsg-1
Threat Intelligence
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 ID SNYK-DEBIANUNSTABLE-PHPLARAVELFRAMEWORK-1062999
- published 20 Jan 2021
- disclosed 19 Jan 2021
Introduced: 19 Jan 2021
CVE-2021-21263 Open this link in a new tabHow to fix?
Upgrade Debian:unstable
php-laravel-framework
to version 6.20.11+dfsg-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream php-laravel-framework
package and not the php-laravel-framework
package as distributed by Debian
.
See How to fix?
for Debian:unstable
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.
References
- https://security-tracker.debian.org/tracker/CVE-2021-21263
- https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x
- https://blog.laravel.com/security-laravel-62011-7302-8221-released
- https://github.com/laravel/framework/pull/35865
- https://packagist.org/packages/illuminate/database
- https://packagist.org/packages/laravel/framework