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

Medium 4.0 Published Updated

Attackers can obtain sensitive server environment details like usernames and paths via error messages in production builds of the zsa library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-37162?

CVE-2024-37162 is a medium-severity vulnerability in IdoPesok zsa, published on 7 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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`.

Weakness: CWE-209

Which versions are affected by CVE-2024-37162?

2 open source packages ship an affected version, including zsa. It affects 1 product.

PackageAffectedFixed in
zsa npmAll versions0.3.3
zsa npmAll versions0.3.3

Products include Idopesok Zsa.

How do I fix CVE-2024-37162?

Upgrade zsa to 0.3.3 or later.

Is CVE-2024-37162 being exploited?

There is no known exploitation of CVE-2024-37162 in the wild and no public exploit code.

Sources

Also known as GHSA-wjmj-h3xc-hxp8.

Is CVE-2024-37162 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free