]> dgit.raspbian.org Git - nodejs.git/commit
dns,net: reject hostnames with embedded NUL bytes
authorMatteo Collina <hello@matteocollina.com>
Mon, 11 May 2026 07:29:15 +0000 (09:29 +0200)
committerBastien Roucariès <rouca@debian.org>
Sun, 16 Aug 2026 17:34:06 +0000 (19:34 +0200)
commitbd3366ed1f35f844060a4af148a56c63cec9d587
tree8ae01d4bc614a00fcddb9cd469586bafec037877
parentb5b0f48c1a60e85784bb010d2d298ca54be6d7f8
dns,net: reject hostnames with embedded NUL bytes

Ref: https://hackerone.com/reports/3656716
PR-URL: https://github.com/nodejs-private/node-private/pull/868
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
CVE-ID: CVE-2026-48930
Refs: https://hackerone.com/reports/3656716
origin: backport, https://github.com/nodejs/node/commit/c551a51d0c58dfc91961fb3f24c2c86af6183eca
Bug: https://nodejs.org/en/blog/vulnerability/june-2026-security-releases#embedded-nul-hostnames-can-lead-to-silent-authority-rebinding-due-to-c-string-trunc

Gbp-Pq: Topic sec
Gbp-Pq: Name CVE-2026-48930.patch
lib/dns.js
lib/internal/dns/promises.js
lib/internal/validators.js
lib/net.js
test/parallel/test-dns-lookup.js
test/parallel/test-net-connect-options-invalid.js