Impact
Ash‑typescript’s RPC error handling path allows an attacker to trigger an error shape mismatch that bypasses the error redaction logic. When the configured error handler fails to match a given error shape, a rescue clause logs a warning and returns the original error map, which may contain sensitive variables. The mismatch triggers a FunctionClauseError that propagates the raw, unredacted error to the client, thereby exposing system secrets. This flaw is classified as a CWE‑209 information‑exposure vulnerability.
Affected Systems
The bug is present in all ash‑project ash_typescript releases from 0.8.0 up to, but not including, 0.18.0. Both the library code and its Erlang‑based RPC machinery are affected. The error handling improvement was introduced in version 0.18.0.
Risk and Exploitability
With a CVSS score of 6.3 the vulnerability is medium severity, and no EPSS score is available. The issue is not listed in the CISA KEV catalog. Because the RPC interface is publicly reachable and only requires no special authentication, an unauthenticated attacker can provoke the error condition. The resulting disclosure could leak credentials or other sensitive data, potentially enabling further intrusion. Prompt remediation is recommended.
OpenCVE Enrichment