Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/laravel/framework@6.20.14
purl pkg:composer/laravel/framework@6.20.14
Next non-vulnerable version 6.20.26
Latest non-vulnerable version 12.1.1
Risk
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-zj39-eevs-kug3
Aliases:
GHSA-4mg9-vhxq-vm7j
GMS-2021-113
GMS-2021-115
SQL Server LIMIT / OFFSET SQL Injection in laravel/framework and illuminate/database ### Impact Those using SQL Server with Laravel and allowing user input to be passed directly to the `limit` and `offset` functions is vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability. ### Patches This problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0. ### Workarounds You may workaround this vulnerability by ensuring that only integers are passed to the `limit` and `offset` functions, as well as the `skip` and `take` functions.
6.20.26
Affected by 0 other vulnerabilities.
8.40.0
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (2)
Vulnerability Summary Aliases
VCID-w2jm-rq3n-vyhc laravel framework Unexpected database bindings via requests This is a follow-up to the security advisory https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x which addresses a few additional edge cases. 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. GHSA-jwvj-pwww-3mj5
VCID-wptp-4xv5-43du Unexpected database bindings This is a follow-up to the previous security advisory (GHSA-3p32-j457-pg5x) which addresses a few additional edge cases. 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. GHSA-x7p5-p2c9-phvg
GMS-2021-114
GMS-2021-116