GHSA-F3PH-5P6J-34XR
Nested sometimes validation rules skipped when value is __missing__
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-F3PH-5P6J-34XR divulgada · CVSS 6.5 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Impact
When an attribute is nested or uses a wildcard (for example `profile.age` or `items.*.quantity`) and is validated with the `sometimes` rule, submitting the literal string `__missing__` as its value causes the attribute to be treated as absent. All of its rules are skipped, the request passes validation, and the unvalidated value is returned by `validated()`. Applications may then store or process input that did not satisfy the declared rules. Top-level attributes and nested attributes without `sometimes` are not affected.
Patches
The issue is fixed in the 12.x branch & 13.x branch, released in v12.72.0 and v13.43.0.
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.72.0, 13.43.0 | — | — |
12.72.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-f3ph-5p6j-34xrLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
