CVE-2024-36581 Badger Database Prototype Pollution
An attacker can execute arbitrary code via prototype pollution in the badger-database npm package.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-36581?
CVE-2024-36581 is a high-severity code injection vulnerability in n/a, published on 17 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A Prototype Pollution issue in abw badger-database 1.2.1 allows an attacker to execute arbitrary code via dist/badger-database.esm.
Weakness: CWE-94
Which versions are affected by CVE-2024-36581?
2 open source packages ship an affected version, including @abw/badger-database.
| Package | Affected | Fixed in |
|---|---|---|
@abw/badger-database npm | All versions to 1.2.1 | None |
@abw/badger-database npm | All versions to 1.2.1 | None |
How do I fix CVE-2024-36581?
No fix has been published for CVE-2024-36581 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-36581 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-36581 exists.
Sources
Also known as GHSA-69r2-2fg7-7hf9.