GHSA-2w8g-m5j8-7m87 Zalgo-like output that crashes the server
The colors library generates excessive output that crashes servers, requiring users to upgrade to the patched version.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-2w8g-m5j8-7m87?
GHSA-2w8g-m5j8-7m87 is a denial of service vulnerability in @soketi/soketi, published on 12 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Impact
What kind of vulnerability is it? Who is impacted?
colors package caused zalgo-like output (see https://github.com/soketi/soketi/issues/276, https://github.com/Marak/colors.js/issues/289), breaking the servers.
Only NPM users that recently upgraded or installed the NPM package are affected.
Docker users seem to not be affected as the dependencies were bundled at the time of the build, which were tested.
Patches
Has the problem been patched? What versions should users upgrade to?
Latest patch. 0.26.1 to be exact at the time of writing.
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
You cannot get around this as it's related to dependencies.
References
Are there any links users can visit to find out more?
For more information
If you have any questions or comments about this advisory:
- Open an issue in the issues board
- Email us at [email protected]
Which versions are affected by GHSA-2w8g-m5j8-7m87?
2 open source packages ship an affected version, including @soketi/soketi.
| Package | Affected | Fixed in |
|---|---|---|
@soketi/soketi npm | All versions | 0.26.1 |
@soketi/soketi npm | All versions | 0.26.1 |
How do I fix GHSA-2w8g-m5j8-7m87?
Upgrade @soketi/soketi to 0.26.1 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-2w8g-m5j8-7m87 being exploited?
There is no known exploitation of GHSA-2w8g-m5j8-7m87 in the wild and no public exploit code.