CVE-2020-7675 Code Injection in cd-messenger
Attackers can execute arbitrary code via the color argument in cd-messenger due to unsafe eval usage, requiring an upgrade to a patched version.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-7675?
CVE-2020-7675 is a critical code injection vulnerability in cd-messenger, published on 10 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
cd-messenger through 2.7.26 is vulnerable to Arbitrary Code Execution. User input provided to the `color` argument executed by the `eval` function resulting in code execution.
Weakness: CWE-94
Which versions are affected by CVE-2020-7675?
2 open source packages ship an affected version, including cd-messenger. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
cd-messenger npm | All versions to 2.7.26 | None |
cd-messenger npm | All versions to 2.7.26 | None |
Products include Cd-Messenger Project Cd-Messenger.
How do I fix CVE-2020-7675?
No fix has been published for CVE-2020-7675 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-2020-7675 being exploited?
There is no known exploitation of CVE-2020-7675 in the wild and no public exploit code.
Sources
Also known as GHSA-v756-4whv-48vc, SNYK-JS-CDMESSENGER-571493.