CVE-2025-31485api-platform core
Alta 7.5 Sin autenticación
Seguir: esta CVE · api-platform · api-platform core Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 3 abr 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-696
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Qué pasa
API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Prior to 4.0.22 and 3.4.17, a GraphQL grant on a property might be cached with different objects. The ApiPlatform\GraphQl\Serializer\ItemNormalizer::isCacheKeySafe() method is meant to prevent the caching but the parent::normalize method that is called afterwards still creates the cache key and causes the issue. This vulnerability is fixed in 4.0.22 and 3.4.17.
Qué hacer
- Aplica la actualización de seguridad del fabricante para core.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Packagist | api-platform/core |
≥ 4.0.0-alpha.1 < 4.0.22 |
4.0.22 |
composer require "api-platform/core:^4.0.22" |
| Packagist | api-platform/core |
< 3.4.17 |
3.4.17 |
composer require "api-platform/core:^3.4.17" |
| Packagist | api-platform/core |
≥ 4.1.0-alpha.1 < 4.1.5 |
4.1.5 |
composer require "api-platform/core:^4.1.5" |
| Packagist | api-platform/graphql |
≥ 4.0.0-alpha.1 < 4.0.22 |
4.0.22 |
composer require "api-platform/graphql:^4.0.22" |
| Packagist | api-platform/graphql |
< 3.4.17 |
3.4.17 |
composer require "api-platform/graphql:^3.4.17" |
| Packagist | api-platform/graphql |
≥ 4.1.0-alpha.1 < 4.1.5 |
4.1.5 |
composer require "api-platform/graphql:^4.1.5" |
Según OSV / GitHub Advisories (GHSA-428q-q3vv-3fq3). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- api-platform · core
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.