{"id":"CVE-2023-47639","aliases":["GHSA-rfw5-cqjj-7v9r"],"url":"https://o3.security/vulnerability/CVE-2023-47639","summary":"API Platform Core can leak exceptions message that may contain sensitive information","details":"### Summary\n\nException messages, that are not HTTP exceptions, are visible in the JSON error response.\n\n### Details\n\nWhile 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.\n\n### PoC\n\nAt 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.\n\n### Impact\n\nVersion 3.2 until 3.2.4 is impacted.","published":"2025-04-03T16:46:13.632Z","modified":"2026-08-12T03:51:10.981233364Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":{"score":0.00372,"percentile":0.30976,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"api-platform/core","fixedVersion":"3.2.5"}],"fix":{"url":"https://github.com/api-platform/core/commit/ba8a7e6538bccebf14c228e43a9339214c4d9201","label":"api-platform/core@ba8a7e6"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/47xxx/CVE-2023-47639.json"},{"type":"ADVISORY","url":"https://github.com/api-platform/core/security/advisories/GHSA-rfw5-cqjj-7v9r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-47639"},{"type":"FIX","url":"https://github.com/api-platform/core/commit/ba8a7e6538bccebf14c228e43a9339214c4d9201"},{"type":"FIX","url":"https://github.com/api-platform/core/pull/5823"},{"type":"PACKAGE","url":"https://github.com/api-platform/core"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:10.981233364Z"}}