CVE catalog

CVE-2022-35255

nodejs: CVE-2022-35255

[CVE catalog]

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

A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with EntropySource() in SecretKeyGenTraits::DoKeyGen() in src/crypto/crypto_keygen.cc. There are two problems with this: 1) It does not check the return value, it assumes EntropySource() always succeeds, but it can (and sometimes will) fail. 2) The random data returned byEntropySource() may not be cryptographically strong and therefore not suitable as keying material.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannodejssid24.22.1+dfsg+~cs24.19.2-1fixed
Debiannodejsforky24.21.0+dfsg+~cs24.13.4-1fixed
Debiannodejstrixie20.19.2+dfsg-1+deb13u2fixed
Debiannodejstrixie-security20.19.2+dfsg-1+deb13u3fixed
Debiannodejsbookworm18.20.4+dfsg-1~deb12u2fixed
Debiannodejsbookworm-security18.20.4+dfsg-1~deb12u3fixed
Bitnaminode-minNot reported15.14.1fixed
Bitnaminode-minNot reported16.12.1fixed
Bitnaminode-minNot reported16.17.1fixed
Bitnaminode-minNot reported18.9.1fixed
BitnaminodeNot reported15.14.1fixed
BitnaminodeNot reported16.12.1fixed
BitnaminodeNot reported16.17.1fixed
BitnaminodeNot reported18.9.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannodejssourcesid18.10.0+dfsg-1not yet assignedNot reportedNot reported
Debiannodejssourceforky18.10.0+dfsg-1not yet assignedNot reportedNot reported
Debiannodejssourcetrixie18.10.0+dfsg-1not yet assignedNot reportedNot reported
Debiannodejssourcebookworm18.10.0+dfsg-1not yet assignedNot reportedNot reported
Bitnaminode-minBitnamiNot reported15.14.1Not reportedBIT-NODE-MIN-2022-35255Not reported
Bitnaminode-minBitnamiNot reported16.12.1Not reportedBIT-NODE-MIN-2022-35255Not reported
Bitnaminode-minBitnamiNot reported16.17.1Not reportedBIT-NODE-MIN-2022-35255Not reported
Bitnaminode-minBitnamiNot reported18.9.1Not reportedBIT-NODE-MIN-2022-35255Not reported
BitnaminodeBitnamiNot reported15.14.1Not reportedBIT-NODE-2022-35255Not reported
BitnaminodeBitnamiNot reported16.12.1Not reportedBIT-NODE-2022-35255Not reported
BitnaminodeBitnamiNot reported16.17.1Not reportedBIT-NODE-2022-35255Not reported
BitnaminodeBitnamiNot reported18.9.1Not reportedBIT-NODE-2022-35255Not reported

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.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

  • [libnode-dev]Unknown

    Source package: [nodejs]

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

  • [nodejs-doc]Unknown

    Source package: [nodejs]

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

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

      Fixed · Fixed: 18.10.0+dfsg-1

      dsa · nodejs · debian · bookworm

Observed:

References