CVE catalog

CVE-2024-21892

nodejs affected and fixed versions

[CVE catalog]

On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the process is running with elevated privileges with the only exception of CAP_NET_BIND_SERVICE. Due to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set. This allows unprivileged users to inject code that inherits the process's elevated privileges.

Severity
High · CVSS 8.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.56% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
Debiantrixie-securitynodejs20.19.2+dfsg-1+deb13u3Fixed[CVE-2024-21892]
Debiantrixienodejs18.19.1+dfsg-1FixedDistribution-reported fixed boundary[CVE-2024-21892]
Debiantrixienodejs20.19.2+dfsg-1+deb13u2Fixed[CVE-2024-21892]
Debiansidnodejs18.19.1+dfsg-1FixedDistribution-reported fixed boundary[CVE-2024-21892]
Debiansidnodejs24.22.1+dfsg+~cs24.19.2-1Fixed[CVE-2024-21892]
Debianforkynodejs18.19.1+dfsg-1FixedDistribution-reported fixed boundary[CVE-2024-21892]
Debianforkynodejs24.21.0+dfsg+~cs24.13.4-1Fixed[CVE-2024-21892]
Debianbookworm-securitynodejs18.20.4+dfsg-1~deb12u3Fixed[CVE-2024-21892]
Debianbookwormnodejs18.20.4+dfsg-1~deb12u1FixedDistribution-reported fixed boundary[CVE-2024-21892]
Debianbookwormnodejs18.20.4+dfsg-1~deb12u2Fixed[CVE-2024-21892]

Showing 10 fix observations. All 11 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportednodejs18.20.4+dfsg-1~deb12u1UnknownSource applicability is not establishedProvider not reported
Debianbookwormnodejs18.20.4+dfsg-1~deb12u1FixedDistribution-reported fixed boundary[CVE-2024-21892]
Debianbookwormnodejs18.20.4+dfsg-1~deb12u2Fixed[CVE-2024-21892]
Debianbookworm-securitynodejs18.20.4+dfsg-1~deb12u3Fixed[CVE-2024-21892]
Debianforkynodejs18.19.1+dfsg-1FixedDistribution-reported fixed boundary[CVE-2024-21892]
Debianforkynodejs24.21.0+dfsg+~cs24.13.4-1Fixed[CVE-2024-21892]
Debiansidnodejs18.19.1+dfsg-1FixedDistribution-reported fixed boundary[CVE-2024-21892]
Debiansidnodejs24.22.1+dfsg+~cs24.19.2-1Fixed[CVE-2024-21892]
Debiantrixienodejs18.19.1+dfsg-1FixedDistribution-reported fixed boundary[CVE-2024-21892]
Debiantrixienodejs20.19.2+dfsg-1+deb13u2Fixed[CVE-2024-21892]
Debiantrixie-securitynodejs20.19.2+dfsg-1+deb13u3Fixed[CVE-2024-21892]
Original provider fields
{
  "package_releases": [
    {
      "name": "nodejs",
      "status": "fixed",
      "release": "sid",
      "version": "24.22.1+dfsg+~cs24.19.2-1"
    },
    {
      "name": "nodejs",
      "status": "fixed",
      "release": "forky",
      "version": "24.21.0+dfsg+~cs24.13.4-1"
    },
    {
      "name": "nodejs",
      "status": "fixed",
      "release": "trixie",
      "version": "20.19.2+dfsg-1+deb13u2"
    },
    {
      "name": "nodejs",
      "status": "fixed",
      "release": "trixie-security",
      "version": "20.19.2+dfsg-1+deb13u3"
    },
    {
      "name": "nodejs",
      "status": "fixed",
      "release": "bookworm",
      "version": "18.20.4+dfsg-1~deb12u2"
    },
    {
      "name": "nodejs",
      "status": "fixed",
      "release": "bookworm-security",
      "version": "18.20.4+dfsg-1~deb12u3"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1064055,
      "name": "nodejs",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "18.19.1+dfsg-1"
    },
    {
      "bug": 1064055,
      "name": "nodejs",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "18.19.1+dfsg-1"
    },
    {
      "bug": 1064055,
      "name": "nodejs",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": "18.19.1+dfsg-1"
    },
    {
      "bug": 1064055,
      "name": "nodejs",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": "18.20.4+dfsg-1~deb12u1"
    }
  ],
  "distribution_packages": [
    {
      "name": "nodejs",
      "fixed_version": "18.20.4+dfsg-1~deb12u1",
      "applicability_unknown": true
    }
  ]
}

[Debian bug #1064055]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libnode108]Unknown

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

  • [libnode-dev]Unknown

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

  • [nodejs]Unknown
    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · amd64 · bookworm-security

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · arm64 · bookworm-security

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

  • [nodejs-doc]Unknown

    Source package: [nodejs]

    Details (4)
    • 18.20.4+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

    • 18.20.4+dfsg-1~deb12u2 · all · bookworm-security

      Fixed · Fixed: 18.20.4+dfsg-1~deb12u1

      dsa · nodejs · debian · bookworm; dsa · nodejs · debian · 12

[Debian 13 (Trixie)]

  • [libnode115]Unknown

    Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

  • [libnode-dev]Unknown

    Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

  • [nodejs]Unknown
    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · amd64 · trixie-security

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

  • [nodejs-doc]Unknown

    Source package: [nodejs]

    Details (5)
    • 20.19.2+dfsg-1+deb13u2 · all · trixie

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie-security

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u2 · all · trixie-security · Historical version

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

    • 20.19.2+dfsg-1+deb13u3 · all · trixie-security

      Fixed · Fixed: 18.19.1+dfsg-1

      dsa · nodejs · debian · 13

Observed:

References