CVE-2024-30564 @andrei-tatar/nora-firebase-common Prototype Pollution vulnerability
A remote attacker can execute arbitrary code via a crafted script in the updateState parameter of the nora-firebase-common library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-30564?
CVE-2024-30564 is a critical code injection vulnerability in n/a, published on 18 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue inandrei-tatar nora-firebase-common between v.1.0.41 and v.1.12.2 allows a remote attacker to execute arbitrary code via a crafted script to the updateState parameter of the updateStateInternal method.
Weakness: CWE-1321
Which versions are affected by CVE-2024-30564?
2 open source packages ship an affected version, including @andrei-tatar/nora-firebase-common.
| Package | Affected | Fixed in |
|---|---|---|
@andrei-tatar/nora-firebase-common npm | From 1.0.41 | 1.12.3 |
@andrei-tatar/nora-firebase-common npm | From 1.0.41 | 1.12.3 |
How do I fix CVE-2024-30564?
Upgrade @andrei-tatar/nora-firebase-common to 1.12.3 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-30564 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-30564 exists.
Sources
Also known as GHSA-jjff-q3q4-5hh8.