CVE-2021-21263
Published Jan 19, 2021
Last updated 2 years ago
Overview
- 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.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 5.3
- Impact score
- 1.4
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Severity
- MEDIUM
CVSS 2.0
- Type
- Primary
- Base score
- 5
- Impact score
- 2.9
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:N/I:P/A:N
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:laravel:laravel:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B836AE41-90D9-421F-A03D-8FFA614D6036", "versionEndExcluding": "6.20.11", "versionStartIncluding": "6.0.0" }, { "criteria": "cpe:2.3:a:laravel:laravel:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B854A88E-3CF8-4AD3-B0F6-428D3FA518D5", "versionEndExcluding": "7.30.2", "versionStartIncluding": "7.0.0" }, { "criteria": "cpe:2.3:a:laravel:laravel:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "4938EC41-68FD-4EA4-9B44-A40B74F118BE", "versionEndExcluding": "8.22.1", "versionStartIncluding": "8.0.0" } ], "operator": "OR" } ] } ]