{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2025-31485",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2025-03-28T13:36:51.298Z",
        "datePublished": "2025-04-03T19:31:46.021Z",
        "dateUpdated": "2025-04-08T13:15:23.510Z"
    },
    "containers": {
        "cna": {
            "title": "GraphQL grant on a property might be cached with different objects",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-696",
                            "lang": "en",
                            "description": "CWE-696: Incorrect Behavior Order",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/api-platform/core/security/advisories/GHSA-428q-q3vv-3fq3",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/api-platform/core/security/advisories/GHSA-428q-q3vv-3fq3"
                },
                {
                    "name": "https://github.com/api-platform/core/commit/7af65aad13037d7649348ee3dcd88e084ef771f8",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/api-platform/core/commit/7af65aad13037d7649348ee3dcd88e084ef771f8"
                },
                {
                    "name": "https://github.com/api-platform/core/commit/cba3acfbd517763cf320167250c5bed6d569696a",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/api-platform/core/commit/cba3acfbd517763cf320167250c5bed6d569696a"
                },
                {
                    "name": "https://github.com/api-platform/core/releases/tag/v3.4.17",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/api-platform/core/releases/tag/v3.4.17"
                }
            ],
            "affected": [
                {
                    "vendor": "api-platform",
                    "product": "core",
                    "versions": [
                        {
                            "version": ">= 4.0.0-alpha.1, < 4.0.22",
                            "status": "affected"
                        },
                        {
                            "version": "< 3.4.17",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2025-04-08T13:15:23.510Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-428q-q3vv-3fq3",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-04-03T19:59:34.529256Z",
                                "id": "CVE-2025-31485",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-04-03T19:59:57.790Z"
                }
            }
        ]
    }
}