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.
This problem has been patched on Laravel versions 6.20.26 and 8.40.0.
WS-2021-0079 - Medium Severity Vulnerability
Vulnerable Library - illuminate/database-v8.14.0
The Illuminate Database package.
Library home page: https://api.github.com/repos/illuminate/database/zipball/0392dba46ac84eb0ea03535764af675244f906cc
Dependency Hierarchy: - laravel/lumen-framework-v8.2.0 (Root Library) - illuminate/queue-v8.14.0 - :x: **illuminate/database-v8.14.0** (Vulnerable Library)
Found in HEAD commit: b0c810e728768e655444c3e12cbf88a4ee27b5b5
Found in base branch: main
Vulnerability Details
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. This problem has been patched on Laravel versions 6.20.26 and 8.40.0.
Publish Date: 2021-04-30
URL: WS-2021-0079
CVSS 3 Score Details (5.4)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://github.com/laravel/framework/security/advisories/GHSA-4mg9-vhxq-vm7j
Release Date: 2021-04-30
Fix Resolution: v6.20.26, v7.30.5, v8.40.0
Step up your Open Source Security Game with WhiteSource here