Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:composer/illuminate/database@6.6.2
purl pkg:composer/illuminate/database@6.6.2
Next non-vulnerable version 6.20.26
Latest non-vulnerable version 8.40.0
Risk 4.0
Vulnerabilities affecting this package (4)
Vulnerability Summary Fixed by
VCID-11r1-2ysm-pfhh
Aliases:
CVE-2020-24940
GHSA-c7rm-w2hj-x8g3
An issue was discovered in Laravel before 6.18.34 and 7.x before 7.23.2. Unvalidated values are saved to the database in some situations in which table names are stripped during a mass assignment.
6.18.34
Affected by 3 other vulnerabilities.
7.23.2
Affected by 2 other vulnerabilities.
VCID-96p3-hbxp-duaz
Aliases:
CVE-2021-21263
GHSA-3p32-j457-pg5x
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') 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.
6.20.12
Affected by 2 other vulnerabilities.
7.30.3
Affected by 1 other vulnerability.
8.22.1
Affected by 2 other vulnerabilities.
VCID-wptp-4xv5-43du
Aliases:
GHSA-x7p5-p2c9-phvg
GMS-2021-114
GMS-2021-116
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.
6.20.14
Affected by 1 other vulnerability.
7.30.4
Affected by 0 other vulnerabilities.
8.24.0
Affected by 1 other vulnerability.
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 (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.