GitHub Advisoryadvisory · npm
GHSA-wjmj-h3xc-hxp8 Generation of Error Message Containing Sensitive Information in zsa
MEDIUM
Official page ↗
- Aliases
- CVE-2024-37162
- Ecosystem
- npm
- Packages
- zsa
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-209
- Reviewed
- 2024-06-06
Affected packages
• npm zsa: < 0.3.3 → fixed in 0.3.3
Description
Impact
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.
Patches
Yes, this has been pathed on `0.3.3`
Workarounds
No way to fix other than the patch.
Related
Alias · CVE (1)
- CVE-2024-37162 zsa is a library for building typesafe server actions in Next.js. vulnerability
Weakness · CWE (1)
- CWE-209 Generation of Error Message Containing Sensitive Information weakness