GHSA-WQ8P-MQVG-2P5H
laravel framework SQL Injection via limit and offset functions
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-WQ8P-MQVG-2P5H divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
### 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.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistlaravel/framework |
Corregida | 6.20.26, 7.30.5, 8.40.0 | — | — |
6.20.267.30.58.40.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/laravel/framework/security/advisories/GHSA-4mg9-vhxq-vm7jhttps://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/2021-04-28.yamlhttps://github.com/laravel/frameworkLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
