CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2025-31485

High
Published: Translated: NVD NIST

Summary

API Platform Core to system do tworzenia API opartych na hypermedia, w tym REST i GraphQL. W wersjach przed 4.0.22 i 3.4.17, grant GraphQL na właściwości mógł być buforowany z różnymi obiektami, co prowadziło do problemów z bezpieczeństwem.

Risk Assessment

Organizacje mogą być narażone na nieautoryzowany dostęp do danych, ponieważ niewłaściwe buforowanie może prowadzić do ujawnienia informacji o innych obiektach.

Recommendation

Zaleca się aktualizację do wersji 4.0.22 lub 3.4.17, aby usunąć tę podatność i zabezpieczyć system przed potencjalnymi atakami.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS