CVE-2023-47639
mediumpriority · track · 0EPSS 0.004 · 33 %ileEUUSEPSS · scored 2026-10-27
API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. From 3.2.0 until 3.2.4, exception messages, that are not HTTP exceptions, are visible in the JSON error response. This vulnerability is fixed in 3.2.5.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-rfw5-cqjj-7v9rAPI Platform Core can leak exceptions message that may contain sensitive information2025-04-03ghsa · osvUS
### Summary Exception messages, that are not HTTP exceptions, are visible in the JSON error response. ### Details While we wanted to make our errors compatible with the [JSON Problem](https://datatracker.ietf.org/doc/html/rfc7807) specification, we ended up handling more exceptions then we did previously (introduced at https://github.com/api-platform/core/pull/5823). Instead of leaving that to Symfony, we ended up serializing errors with our normalizers which lead to not hiding the exception details. Note that the trace is hidden in production but the message is not, and the message can contain sensitive information. ### PoC At https://github.com/ili101/api-platform/tree/test3.2 it triggers an authentication exception as LDAP is not reachable. You can find the message available as a JSON response when trying to reach an endpoint. ### Impact Version 3.2 until 3.2.4 is impacted.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/api-platform/core/commit/ba8a7e6538bccebf14c228e43a9339214c4d9201cnnvd
- https://github.com/api-platform/core/pull/5823cnnvd
- https://github.com/api-platform/core/releasesPatchcnnvd
- https://github.com/api-platform/core/security/advisories/GHSA-rfw5-cqjj-7v9rcnnvd
- https://github.com/api-platform/core/commit/ba8a7e6538bccebf14c228e43a9339214c4d9201enisa_euvd
- https://github.com/api-platform/core/pull/5823enisa_euvd
- https://github.com/api-platform/core/security/advisories/GHSA-rfw5-cqjj-7v9renisa_euvd
- https://github.com/api-platform/core/commit/ba8a7e6538bccebf14c228e43a9339214c4d9201nvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan