hot-shots is vulnerable to Injection
63
Medium Risk
The hot-shots StatsD client builds metric packets from caller-supplied names, tag keys, and tag values. Before the fix, carriage-return characters were not stripped, so receivers that split lines on \r could accept attacker-influenced injected metrics. Transport sockets also lacked default error listeners, so unhandled socket errors could terminate the Node.js host process, and invalid oversized bufferFlushInterval values could force rapid buffer flush loops that exhaust CPU. Version 15.0.0 sanitizes \r, attaches safe default error handlers, validates flush intervals, and wraps interval flushes to prevent host crashes.
You are affected if you are using a version that falls within the vulnerable range.
hot-shots is vulnerable to Injection in versions 0.0.1 - 14.3.1.
Upgrade the hot-shots library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant