StackPatch is liveSee product

Back to CVE digest
CVE-2024-21892 · cross-distro fix matrix

CVE-2024-21892: 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 exc

Affects 7 Linux releases across 11 (distro × package) combinations.

Fix per ecosystem

Each block below is a distro release where CVE-2024-21892 has a known fix. Run the listed command on that distro to remediate.

Debian bookworm

Source: Debian Security Tracker

  • nodejs→ fixed in18.20.4+dfsg-1~deb12u1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y nodejs

Debian trixie

Source: Debian Security Tracker

  • nodejs→ fixed in18.19.1+dfsg-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y nodejs

Alpine v3.20

Source: Alpine secdb

  • openjdk17→ fixed in17.0.11_p9-r0
    apk update && apk add --upgrade openjdk17
  • openjdk21→ fixed in21.0.3_p9-r0
    apk update && apk add --upgrade openjdk21

Alpine v3.21

Source: Alpine secdb

  • openjdk17→ fixed in17.0.11_p9-r0
    apk update && apk add --upgrade openjdk17
  • openjdk21→ fixed in21.0.3_p9-r0
    apk update && apk add --upgrade openjdk21

Alpine edge

Source: Alpine secdb

  • openjdk17→ fixed in17.0.11_p9-r0
    apk update && apk add --upgrade openjdk17
  • openjdk21→ fixed in21.0.3_p9-r0
    apk update && apk add --upgrade openjdk21

Alpine v3.18

Source: Alpine secdb

  • openjdk17→ fixed in17.0.11_p9-r0
    apk update && apk add --upgrade openjdk17

Alpine v3.19

Source: Alpine secdb

  • openjdk17→ fixed in17.0.11_p9-r0
    apk update && apk add --upgrade openjdk17
  • openjdk21→ fixed in21.0.3_p9-r0
    apk update && apk add --upgrade openjdk21
Are YOU affected by CVE-2024-21892?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2024-21892dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)