Feed
–HIGH

GHSA-wq8p-mqvg-2p5hlaravel framework SQL Injection via limit and offset functions

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
Priority
No score, high severity
how it is computed
Fix
Named by a source
Advisory published 15 May 2024

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

  • laravel/framework (Packagist): upgrade to 6.20.26 / 7.30.5 / 8.40.0 or later on your release line.

Who should check

  • laravel/framework (Packagist) pkg:composer/laravel/framework

    • Affected>= 6.0.0, < 6.20.26Fixed in6.20.26OSV (GHSA-wq8p-mqvg-2p5h)
    • Affected>= 7.0.0, < 7.30.5Fixed in7.30.5OSV (GHSA-wq8p-mqvg-2p5h)
    • Affected>= 8.0.0, < 8.40.0Fixed in8.40.0OSV (GHSA-wq8p-mqvg-2p5h)

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

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 6 min ago · osv 6 min ago · nvd 35 min ago · epss 66 min ago · JSON · ask via MCP: explain_vulnerability