GHSA-CGWV-Q695-MJ8G
Unbounded $ref chain resolution in Illuminate\JsonSchema\Deserializer allows denial of service
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-CGWV-Q695-MJ8G divulgada · CVSS 5.3 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
`Illuminate\JsonSchema\Deserializer` resolved chained local `$ref` pointers recursively without limiting the depth of the chain. Applications that pass attacker-influenced JSON Schema data to `JsonSchema::fromArray()` or `Deserializer::deserialize()` could be sent a crafted schema containing a long linear chain of `$ref` references. Resolving it consumes memory and CPU rapidly and can exhaust the PHP memory limit, terminating the worker process. Repeated requests can sustain the outage. Applications that only deserialize developer-defined schemas are not affected.
Patches
The fix limits the depth of chained `$ref` resolution and throws an `InvalidArgumentException` when the limit is exceeded. It has been merged into the 12.x branch: https://github.com/laravel/framework/pull/62498
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.73.0, 13.43.0 | — | — |
12.73.013.43.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-cgwv-q695-mj8gLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
