api-platform/core
cpe:2.3:a:api-platform:core:*:*:*:*:*:*:*
- >= 3.2.0, <= 3.2.4
A vulnerability exists in API Platform Core versions 3.2.0 prior to 3.2.5, where exception messages, excluding HTTP exceptions, are exposed in the JSON error response. This issue arises from an improper handling of exceptions while attempting to align with the JSON Problem specification, leading to the serialization of sensitive exception details that should have been managed by Symfony. Although the stack trace is omitted in production, the exception message can reveal sensitive information.
The vulnerability allows for the unintentional disclosure of exception messages in the JSON error response, which may contain sensitive information.
To reproduce this vulnerability, use API Platform Core version 3.2.0 through 3.2.4. Trigger an exception that is not an HTTP exception, such as an authentication exception due to unreachable LDAP, and observe the JSON response, which will include the exception message.
Users can upgrade to API Platform Core version 3.2.5 to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.