Information Exposure Affecting api-platform/core package, versions >=3.2.0, <3.2.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-APIPLATFORMCORE-9653019
  • published4 Apr 2025
  • disclosed3 Apr 2025
  • creditUnknown

Introduced: 3 Apr 2025

NewCVE-2023-47639  (opens in a new tab)
CWE-209  (opens in a new tab)

How to fix?

Upgrade api-platform/core to version 3.2.5 or higher.

Overview

api-platform/core is a builds a fully-featured hypermedia or GraphQL API in minutes.

Affected versions of this package are vulnerable to Information Exposure through the JSON error response. An attacker can obtain sensitive information by exploiting the visibility of exception messages that are not HTTP exceptions.

Note:

The trace is hidden in production but the message is not, and the message can contain sensitive information.

CVSS Base Scores

version 4.0
version 3.1