SCA: security update for api-platform/core, api-platform/graphql (GHSA-428q-q3vv-3fq3)

high Tenable Self-Hosted Container Security Plugin ID 424769

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-31485)

See Also

https://github.com/advisories/GHSA-428q-q3vv-3fq3

Plugin Details

Severity: High

ID: 424769

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 4/4/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.92

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2025-31485

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/4/2025

Vulnerability Publication Date: 4/3/2025

Reference Information

CVE: CVE-2025-31485

cwe: CWE-696