Loading HuntDB...

CVE-2021-21263

HIGH
Published 2021-01-19T19:40:18
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2021-21263. We'll provide specific mitigation strategies based on your environment and risk profile.

CVSS Score

V3.1
7.2
/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Base Score Metrics
Exploitability: N/A Impact: N/A

EPSS Score

v2023.03.01
0.001
probability
of exploitation in the wild

There is a 0.1% chance that this vulnerability will be exploited in the wild within the next 30 days.

Updated: 2025-01-25
Exploit Probability
Percentile: 0.463
Higher than 46.3% of all CVEs

Attack Vector Metrics

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED

Impact Metrics

Confidentiality
LOW
Integrity
LOW
Availability
NONE

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.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

Affected Products

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed HIGH

Query Binding Exploitation

GHSA-3p32-j457-pg5x

Advisory Details

### Description Laravel versions <6.20.12, <7.30.3 & <8.22.1 contain a query binding exploitation. 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. This vulnerability was discovered by Tim Groenevelt ([email protected]). ### References - https://github.com/laravel/framework/pull/35865

Affected Packages

Packagist laravel/framework
ECOSYSTEM: ≥8.0.0 <8.22.1
Packagist illuminate/database
ECOSYSTEM: ≥7.0.0 <7.30.3
Packagist illuminate/database
ECOSYSTEM: ≥8.0.0 <8.22.1
Packagist illuminate/database
ECOSYSTEM: ≥6.0.0 <6.20.12
Packagist laravel/framework
ECOSYSTEM: ≥6.0.0 <6.20.11
Packagist laravel/framework
ECOSYSTEM: ≥7.0.0 <7.30.2

CVSS Scoring

CVSS Score

7.5

CVSS Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Advisory provided by GitHub Security Advisory Database. Published: January 19, 2021, Modified: March 29, 2021

References

Published: 2021-01-19T19:40:18
Last Modified: 2024-08-03T18:09:14.909Z
Copied to clipboard!