CVE-2021-21263
CVSS V2 Medium 5
CVSS V3 Medium 5.3
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.
Overview
- CVE ID
- CVE-2021-21263
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-01-19T20:15:13
- Last Modified Date
- 2022-10-19T13:16:19
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:laravel:laravel:*:*:*:*:*:*:*:* | 1 | OR | 6.0.0 | 6.20.11 |
cpe:2.3:a:laravel:laravel:*:*:*:*:*:*:*:* | 1 | OR | 7.0.0 | 7.30.2 |
cpe:2.3:a:laravel:laravel:*:*:*:*:*:*:*:* | 1 | OR | 8.0.0 | 8.22.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://packagist.org/packages/illuminate/database | Product Third Party Advisory |
https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x | Third Party Advisory |
https://github.com/laravel/framework/pull/35865 | Patch Third Party Advisory |
https://packagist.org/packages/laravel/framework | Product Third Party Advisory |
https://blog.laravel.com/security-laravel-62011-7302-8221-released | Vendor Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21263 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21263 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:25:30 | Added to TrackCVE | |||
2022-12-05 20:22:37 | 2021-01-19T20:15Z | 2021-01-19T20:15:13 | CVE Published Date | updated |
2022-12-05 20:22:37 | 2022-10-19T13:16:19 | CVE Modified Date | updated | |
2022-12-05 20:22:37 | Analyzed | Vulnerability Status | updated |