SQL Injection Affecting laravel/framework package, versions <6.20.26>=8.0.0, <8.40.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-LARAVELFRAMEWORK-1278127
  • published30 Apr 2021
  • disclosed29 Apr 2021
  • creditUnknown

Introduced: 29 Apr 2021

CVE NOT AVAILABLE CWE-89  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade laravel/framework to version 6.20.26, 8.40.0 or higher.

Overview

laravel/framework is a PHP framework for web artisans.

Affected versions of this package are vulnerable to SQL Injection. Those using SQL Server with Laravel and allowing user input to be passed directly to the limit and offset functions are vulnerable to SQL injection. Other database drivers such as MySQL and Postgres are not affected by this vulnerability.

References

CVSS Scores

version 3.1