CVE-2025-31485 GraphQL grant on a property might be cached with different objects
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
api-platform
core
영향 받는 버전
- 4.0.0-alpha.1 이상 4.0.22 미만
- 3.4.17 미만
해결 버전
- 4.0.22 이상
- 3.4.17 이상
참고 자료 4건
- github.com https://github.com/api-platform/core/commit/7af65aad13037d7649348ee3dcd88e084ef771f8 (새 창)
- github.com https://github.com/api-platform/core/commit/cba3acfbd517763cf320167250c5bed6d569696a (새 창)
- github.com https://github.com/api-platform/core/releases/tag/v3.4.17 (새 창)
- github.com https://github.com/api-platform/core/security/advisories/GHSA-428q-q3vv-3fq3 (새 창)