Files
node/lib
Matteo Collina a2fe9fd81a http: use null prototype for headersDistinct/trailersDistinct
Use { __proto__: null } instead of {} when initializing the
headersDistinct and trailersDistinct destination objects.

A plain {} inherits from Object.prototype, so when a __proto__
header is received, dest["__proto__"] resolves to Object.prototype
(truthy), causing _addHeaderLineDistinct to call .push() on it,
which throws an uncaught TypeError and crashes the process.

Ref: https://hackerone.com/reports/3560402
PR-URL: https://github.com/nodejs-private/node-private/pull/821
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
CVE-ID: CVE-2026-21710
2026-03-22 16:28:36 +01:00
..
2020-02-18 22:15:50 -08:00
2020-10-21 01:26:34 +02:00
2025-08-26 11:22:39 +02:00
2024-01-12 16:09:48 +00:00
2024-07-16 12:01:14 +02:00
2025-10-18 20:35:56 +02:00
2026-02-24 00:37:08 +01:00
2024-11-27 11:03:39 -05:00
2024-11-27 11:03:39 -05:00
2025-09-20 06:16:51 +00:00
2025-02-03 20:09:53 +01:00
2025-10-07 17:29:36 +02:00
2026-02-24 08:38:58 +01:00
2025-04-17 10:51:20 -03:00
2025-09-20 03:32:52 +00:00