GHSA-HMJ2-JGMW-V4M4
SQL Injection in Laravel PostgreSQL Query Grammar
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-HMJ2-JGMW-V4M4 divulgada · CVSS 5.9 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Laravel's PostgreSQL Query Grammar does not escape embedded single quotes in JSON path attributes when compiling non-raw Query Builder APIs.
A user-influenced JSON path / identifier segment can break out of the single-quoted SQL string literal context used by PostgreSQL JSON operators.
### Impact
This can lead to SQL structure injection and WHERE-condition manipulation when an application passes user-influenced JSON path input into affected Query Builder APIs.
### Patches
#60923 https://github.com/laravel/framework/pull/60923
#61192 https://github.com/laravel/framework/pull/61192
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistlaravel/framework |
Corregida | 12.67.0, 13.24.0 | — | — |
12.67.013.24.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-hmj2-jgmw-v4m4Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
