Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @nestjs/microservices
  4. ›
  5. GHSA-hpwf-8g29-85qm

GHSA-hpwf-8g29-85qm: Nest Affected by DoS via Recursive handleData in JsonSocket (TCP Transport)

April 14, 2026

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

References

  • github.com/advisories/GHSA-hpwf-8g29-85qm
  • github.com/nestjs/nest
  • github.com/nestjs/nest/security/advisories/GHSA-hpwf-8g29-85qm

Code Behaviors & Features

Detect and mitigate GHSA-hpwf-8g29-85qm with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 11.1.19

Fixed versions

  • 11.1.19

Solution

Upgrade to version 11.1.19 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/@nestjs/microservices/GHSA-hpwf-8g29-85qm.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:42 +0000.