GHSA-HPWF-8G29-85QM
Vulnerability from github – Published: 2026-04-14 00:15 – Updated: 2026-04-15 21:14
VLAI?
Summary
Nest Affected by DoS via Recursive handleData in JsonSocket (TCP Transport)
Details
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/microservices@11.1.19
References
Discovered by https://github.com/hwpark6804-gif
Severity ?
7.5 (High)
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c= 11.1.18"
},
"package": {
"ecosystem": "npm",
"name": "@nestjs/microservices"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "11.1.19"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-40879"
],
"database_specific": {
"cwe_ids": [
"CWE-770"
],
"github_reviewed": true,
"github_reviewed_at": "2026-04-14T00:15:09Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "### Impact\nAttacker sends many small, valid JSON messages in one TCP frame\n \u2192 handleData() recurses once per message; buffer shrinks each call\n \u2192 maxBufferSize is never reached; call stack overflows instead\n \u2192 A ~47 KB payload is sufficient to trigger RangeError\n\n### Patches\n\nFixed in `@nestjs/microservices@11.1.19`\n\n### References\n\nDiscovered by https://github.com/hwpark6804-gif",
"id": "GHSA-hpwf-8g29-85qm",
"modified": "2026-04-15T21:14:54Z",
"published": "2026-04-14T00:15:09Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/nestjs/nest/security/advisories/GHSA-hpwf-8g29-85qm"
},
{
"type": "PACKAGE",
"url": "https://github.com/nestjs/nest"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "Nest Affected by DoS via Recursive handleData in JsonSocket (TCP Transport)"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…