GHSA-8mmf-qp7j-2w24 Malicious Package in colour-string
Malicious code in colour-string package executes remote payloads and opens backdoors, requiring immediate secret rotation and system remediation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is GHSA-8mmf-qp7j-2w24?
GHSA-8mmf-qp7j-2w24 is a vulnerability in colour-string, published on 2 Sep 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Version 1.5.3 of colour-string contained malicious code as a preinstall script. The package downloaded a file from a remote server, executed it and opened a backdoor.
Recommendation
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer.
The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Which versions are affected by GHSA-8mmf-qp7j-2w24?
2 open source packages ship an affected version, including colour-string.
| Package | Affected | Fixed in |
|---|---|---|
colour-string npm | All versions | None |
colour-string npm | All versions | None |
How do I fix GHSA-8mmf-qp7j-2w24?
No fix has been published for GHSA-8mmf-qp7j-2w24 yet. Limit exposure of the affected software until one is available.
Is GHSA-8mmf-qp7j-2w24 being exploited?
There is no known exploitation of GHSA-8mmf-qp7j-2w24 in the wild and no public exploit code.