@nestjs/microservices
Affected
- introduced
0, fixed11.1.19(semver)
Fixed versions
11.1.19
Fix
- Fixed version
11.1.19npm install @nestjs/[email protected]
Advisory
Also known as: CVE-2026-40879
Nest Affected by DoS via Recursive handleData in JsonSocket (TCP Transport)
Impact
Attacker sends many small, valid JSON messages in one TCP frame
→ handleData() recurses once per message; buffer shrinks each call
→ maxBufferSize is never reached; call stack overflows instead
→ A ~47 KB payload is sufficient to trigger RangeError
Patches
Fixed in @nestjs/[email protected]
References
Discovered by https://github.com/hwpark6804-gif
High Basis: The source's own band: HIGH
0, fixed 11.1.19 (semver)11.1.19
11.1.19npm install @nestjs/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0