2025-03-28 14:00:34 +00:00
{
2025-04-03 20:00:34 +00:00
"data_version" : "4.0" ,
2025-03-28 14:00:34 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2025-31485" ,
2025-04-03 20:00:34 +00:00
"ASSIGNER" : "security-advisories@github.com" ,
"STATE" : "PUBLIC"
2025-03-28 14:00:34 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2025-04-08 14:00:36 +00:00
"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."
2025-04-03 20:00:34 +00:00
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-696: Incorrect Behavior Order" ,
"cweId" : "CWE-696"
}
]
}
]
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "api-platform" ,
"product" : {
"product_data" : [
{
"product_name" : "core" ,
"version" : {
"version_data" : [
{
"version_affected" : "=" ,
2025-04-08 14:00:36 +00:00
"version_value" : ">= 4.0.0, < 4.0.22"
} ,
{
"version_affected" : "=" ,
"version_value" : "< 3.4.17"
2025-04-03 20:00:34 +00:00
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://github.com/api-platform/core/security/advisories/GHSA-428q-q3vv-3fq3" ,
"refsource" : "MISC" ,
"name" : "https://github.com/api-platform/core/security/advisories/GHSA-428q-q3vv-3fq3"
} ,
{
"url" : "https://github.com/api-platform/core/commit/7af65aad13037d7649348ee3dcd88e084ef771f8" ,
"refsource" : "MISC" ,
"name" : "https://github.com/api-platform/core/commit/7af65aad13037d7649348ee3dcd88e084ef771f8"
2025-04-08 14:00:36 +00:00
} ,
{
"url" : "https://github.com/api-platform/core/commit/cba3acfbd517763cf320167250c5bed6d569696a" ,
"refsource" : "MISC" ,
"name" : "https://github.com/api-platform/core/commit/cba3acfbd517763cf320167250c5bed6d569696a"
} ,
{
"url" : "https://github.com/api-platform/core/releases/tag/v3.4.17" ,
"refsource" : "MISC" ,
"name" : "https://github.com/api-platform/core/releases/tag/v3.4.17"
2025-04-03 20:00:34 +00:00
}
]
} ,
"source" : {
"advisory" : "GHSA-428q-q3vv-3fq3" ,
"discovery" : "UNKNOWN"
} ,
"impact" : {
"cvss" : [
{
"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"
2025-03-28 14:00:34 +00:00
}
]
}
}