ghsa-3p32-j457-pg5x
Vulnerability from github
Published
2021-01-19 19:36
Modified
2021-03-29 17:41
Severity ?
Summary
Query Binding Exploitation
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 (tim.g@foodbyus.com).
References
- https://github.com/laravel/framework/pull/35865
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "laravel/framework" }, "ranges": [ { "events": [ { "introduced": "8.0.0" }, { "fixed": "8.22.1" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "illuminate/database" }, "ranges": [ { "events": [ { "introduced": "7.0.0" }, { "fixed": "7.30.3" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "illuminate/database" }, "ranges": [ { "events": [ { "introduced": "8.0.0" }, { "fixed": "8.22.1" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "illuminate/database" }, "ranges": [ { "events": [ { "introduced": "6.0.0" }, { "fixed": "6.20.12" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "laravel/framework" }, "ranges": [ { "events": [ { "introduced": "6.0.0" }, { "fixed": "6.20.11" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Packagist", "name": "laravel/framework" }, "ranges": [ { "events": [ { "introduced": "7.0.0" }, { "fixed": "7.30.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-21263" ], "database_specific": { "cwe_ids": [ "CWE-74", "CWE-89" ], "github_reviewed": true, "github_reviewed_at": "2021-01-19T19:36:31Z", "nvd_published_at": "2021-01-19T20:15:00Z", "severity": "HIGH" }, "details": "### Description\n\nLaravel versions \u003c6.20.12, \u003c7.30.3 \u0026 \u003c8.22.1 contain a query binding exploitation.\n\nIf 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.\n\nThis vulnerability was discovered by Tim Groenevelt (tim.g@foodbyus.com).\n\n### References\n\n- https://github.com/laravel/framework/pull/35865", "id": "GHSA-3p32-j457-pg5x", "modified": "2021-03-29T17:41:17Z", "published": "2021-01-19T19:36:51Z", "references": [ { "type": "WEB", "url": "https://github.com/laravel/framework/security/advisories/GHSA-3p32-j457-pg5x" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21263" }, { "type": "WEB", "url": "https://github.com/laravel/framework/pull/35865" }, { "type": "WEB", "url": "https://blog.laravel.com/security-laravel-62011-7302-8221-released" }, { "type": "WEB", "url": "https://blog.laravel.com/security-laravel-62012-7303-released" }, { "type": "WEB", "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/database/CVE-2021-21263.yaml" }, { "type": "WEB", "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2021-21263.yaml" }, { "type": "WEB", "url": "https://packagist.org/packages/illuminate/database" }, { "type": "WEB", "url": "https://packagist.org/packages/laravel/framework" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "Query Binding Exploitation" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.