Impact
The flaw occurs when a typed‑controller route handler returns a value other than a %Plug.Conn{}. The request handler interpolates an inspect of the value into the error response. This causes internal application data—such as hashed passwords, tokens, and tenant identifiers—to be exposed in the HTTP 500 response body, exposing sensitive information. The vulnerability is based on CWE‑209, which concerns the improper handling of sensitive information in error messages.
Affected Systems
Affected software is the AshTypescript library from the ash‑project, specifically versions 0.15.0 through 0.17.x. Any application that uses these versions and defines typed‑controller route handlers is at risk.
Risk and Exploitability
The CVSS score of 6.3 indicates moderate severity. No EPSS value is available, and the issue is not listed in the CISA KEV catalog. The attack vector is essentially local within the application’s HTTP interface; an unauthenticated attacker can trigger an error by sending a request that causes a non‑%Plug.Conn{} return value, resulting in a 500 response that leaks sensitive data. The vulnerability requires only triggering a normal application flow and does not need any additional privileges.
OpenCVE Enrichment