CVE-2024-38991 akbr patch-into was discovered to contain a prototype pollution via the function patchInto
Attackers can execute arbitrary code or cause denial of service via prototype pollution in the patchInto function of the akbr patch-into library.
- 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-38991?
CVE-2024-38991 is a high-severity code injection vulnerability in n/a, published on 1 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
akbr patch-into v1.0.1 was discovered to contain a prototype pollution via the function patchInto. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.
Weakness: CWE-1321
Which versions are affected by CVE-2024-38991?
2 open source packages ship an affected version, including @akbr/patch-into.
| Package | Affected | Fixed in |
|---|---|---|
@akbr/patch-into npm | All versions | None |
@akbr/patch-into npm | All versions | None |
How do I fix CVE-2024-38991?
No fix has been published for CVE-2024-38991 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-38991 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38991 exists.
Sources
Also known as GHSA-gh4x-qv3p-m9pm.