Feed
–HIGH
GHSA-4mg9-vhxq-vm7jSQL Server LIMIT / OFFSET SQL Injection in laravel/framework and illuminate/database
A high-severity vulnerability, without a CVSS score in our data. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- –
- not in our data
- Fix
- Named by a source
- Advisory published 29 Apr 2021
Reference
None of the "Needs attention" rules apply right now.
No EPSS score: unknown · Severity high, no CVSS score in our data (+19)
Immediate actions
- illuminate/database (Packagist): upgrade to 8.40.0 / 6.20.26 or later on your release line.
- laravel/framework (Packagist): upgrade to 8.40.0 / 6.20.26 or later on your release line.
Who should check
illuminate/database (Packagist) pkg:composer/illuminate/database
- Affected>= 8.0.0, < 8.40.0Fixed in8.40.0OSV (GHSA-4mg9-vhxq-vm7j)
- Affected< 6.20.26Fixed in6.20.26OSV (GHSA-4mg9-vhxq-vm7j)
laravel/framework (Packagist) pkg:composer/laravel/framework
- Affected>= 8.0.0, < 8.40.0Fixed in8.40.0OSV (GHSA-4mg9-vhxq-vm7j)
- Affected< 6.20.26Fixed in6.20.26OSV (GHSA-4mg9-vhxq-vm7j)
Confirmed facts
- Severity
- HIGH (no CVSS score in our data)
- Weakness
- CWE-89
Unknowns
- No CVSS score in our data. That says nothing about how bad it is, nor that none is published.
- No EPSS score in our data.
Advisory text
Quoted from the source advisory (untrusted)### Impact 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. ### Patches This problem has been patched on Laravel versions 6.20.26, 7.30.5, and 8.40.0. ### Workarounds You may workaround this vulnerability by ensuring that only integers are passed to the `limit` and `offset` functions, as well as the `skip` and `take` functions.
Update history
No events recorded. Our history starts on 1 Jan 2025.
References
Sources
- GHSA-4mg9-vhxq-vm7j (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 25 min ago · osv 25 min ago · nvd 25 min ago · epss 2 h ago · JSON · ask via MCP: explain_vulnerability