7.2
CWE
89 74
Advisory Published
CVE Published
Updated

CVE-2021-21263: Query Binding Exploitation in Laravel

First published: Mon Jan 13 2020(Updated: )

### 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

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
composer/laravel/framework>=6.0.0<6.20.11>=7.0.0<7.30.2>=8.0.0<8.22.1
composer/illuminate/database>=6.0.0<6.20.12>=7.0.0<7.30.3>=8.0.0<8.22.1
Laravel Laravel>=6.0.0<6.20.11
Laravel Laravel>=7.0.0<7.30.2
Laravel Laravel>=8.0.0<8.22.1
composer/laravel/framework>=7.0.0<7.30.2
7.30.2
composer/laravel/framework>=6.0.0<6.20.11
6.20.11
composer/illuminate/database>=6.0.0<6.20.12
6.20.12
composer/illuminate/database>=8.0.0<8.22.1
8.22.1
composer/illuminate/database>=7.0.0<7.30.3
7.30.3
composer/laravel/framework>=8.0.0<8.22.1
8.22.1
>=6.0.0<6.20.11
>=7.0.0<7.30.2
>=8.0.0<8.22.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-21263?

    CVE-2021-21263 is a vulnerability in Laravel web application framework versions before 6.20.11, 7.30.2, and 8.22.1, as well as the illuminate/database package.

  • What is the severity of CVE-2021-21263?

    The severity of CVE-2021-21263 is high with a CVSS score of 5.3.

  • How does CVE-2021-21263 affect Laravel?

    CVE-2021-21263 allows for query binding exploitation in Laravel, potentially leading to unauthorized access or data manipulation.

  • How can I fix CVE-2021-21263?

    To fix CVE-2021-21263, upgrade Laravel to version 6.20.11, 7.30.2, or 8.22.1, or update the illuminate/database package accordingly.

  • Where can I find more information on CVE-2021-21263?

    More information on CVE-2021-21263 can be found in the Laravel security advisories and GitHub pull request.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203