CVE-2021-21263

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-21263
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-21263.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-21263
Aliases
Published
2021-01-19T20:15:13Z
Modified
2024-09-11T02:00:06Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / php-laravel-framework

Package

Name
php-laravel-framework
Purl
pkg:deb/debian/php-laravel-framework?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.20.11+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / php-laravel-framework

Package

Name
php-laravel-framework
Purl
pkg:deb/debian/php-laravel-framework?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.20.11+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}