Advisory

DEBIAN-CVE-2026-21710

Also known as: CVE-2026-21710

Summary

The record has no summary.

Details

A flaw in Node.js HTTP request handling causes an uncaught TypeError when a request is received with a header named __proto__ and the application accesses req.headersDistinct.

When this occurs, dest["__proto__"] resolves to Object.prototype rather than undefined, causing .push() to be called on a non-array. This exception is thrown synchronously inside a property getter and cannot be intercepted by error event listeners, meaning it cannot be handled without wrapping every req.headersDistinct access in a try/catch.

  • This vulnerability affects all Node.js HTTP servers on 20.x, 22.x, 24.x, and v25.x

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-03-30 20:16 UTC
Modified
2026-10-01 03:03 UTC

Affected packages and fixes

nodejs

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 18.20.4+dfsg-1~deb12u2 (ecosystem)

Fixed versions

18.20.4+dfsg-1~deb12u2

Fix

  • Fixed version 18.20.4+dfsg-1~deb12u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nodejs

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 20.19.2+dfsg-1+deb13u2 (ecosystem)

Fixed versions

20.19.2+dfsg-1+deb13u2

Fix

  • Fixed version 20.19.2+dfsg-1+deb13u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

nodejs

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 22.22.2+dfsg+~cs22.19.15-1 (ecosystem)

Fixed versions

22.22.2+dfsg+~cs22.19.15-1

Fix

  • Fixed version 22.22.2+dfsg+~cs22.19.15-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences