CVE-2020-7675 Code Injection in cd-messenger

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
cd-messenger npmAll versions to 2.7.26None
cd-messenger npmAll versions to 2.7.26None

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.

Is CVE-2020-7675 in your software?

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

Check your SBOMs for free