p PatchFirst

CVE-2021-44531

CVE-2021-44531

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in bypassing name-constrained intermediates. Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 was accepting URI SAN types, which PKIs are often not defined to use. Additionally, when a protocol allows URI SANs, Node.js did not match the URI correctly.Versions of Node.js with the fix for this disable the URI SAN type when checking a certificate against a hostname. This behavior can be reverted through the --security-revert command-line option.

CVSS 7.4 · High · EPSS 8.4% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • node.js

    Versions
    • ≥ 4.0, < 4.*: Affected (semver)
    • ≥ 5.0, < 5.*: Affected (semver)
    • ≥ 6.0, < 6.*: Affected (semver)
    • ≥ 7.0, < 7.*: Affected (semver)
    • ≥ 8.0, < 8.*: Affected (semver)
    • ≥ 9.0, < 9.*: Affected (semver)
    • ≥ 10.0, < 10.*: Affected (semver)
    • ≥ 11.0, < 11.*: Affected (semver)
    • ≥ 12.0, < 12.22.9: Affected (semver)
    • ≥ 13.0, < 13.*: Affected (semver)
    • ≥ 14.0, < 14.18.3: Affected (semver)
    • ≥ 15.0, < 15.*: Affected (semver)
    • ≥ 16.0, < 16.13.2: Affected (semver)
    • ≥ 17.0, < 17.3.1: Affected (semver)

    Update to 12.22.9; Update to 14.18.3; Update to 16.13.2; Update to 17.3.1

  • nodejs Debian:12

    Affected ranges
    • ECOSYSTEM: < 12.22.9~dfsg-1

    Update to 12.22.9~dfsg-1

  • nodejs Debian:13

    Affected ranges
    • ECOSYSTEM: < 12.22.9~dfsg-1

    Update to 12.22.9~dfsg-1

  • nodejs Debian:14

    Affected ranges
    • ECOSYSTEM: < 12.22.9~dfsg-1

    Update to 12.22.9~dfsg-1

Original sources

Check your server →