p PatchFirst

ALPINE-CVE-2022-35255

ALPINE-CVE-2022-35255

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

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.

CVSS 9.1 · Critical · Fix available

Published
Updated

Stack: system

Affected products and versions

  • nodejs Alpine:v3.15

    Affected ranges
    • ECOSYSTEM: < 16.17.1-r0

    Update to 16.17.1-r0

  • nodejs Alpine:v3.16

    Affected ranges
    • ECOSYSTEM: < 16.17.1-r0

    Update to 16.17.1-r0

  • nodejs Alpine:v3.17

    Affected ranges
    • ECOSYSTEM: < 16.17.1-r0

    Update to 16.17.1-r0

  • nodejs Alpine:v3.18

    Affected ranges
    • ECOSYSTEM: < 16.17.1-r0

    Update to 16.17.1-r0

  • nodejs Alpine:v3.19

    Affected ranges
    • ECOSYSTEM: < 16.17.1-r0

    Update to 16.17.1-r0

  • nodejs Alpine:v3.20

    Affected ranges
    • ECOSYSTEM: < 16.17.1-r0

    Update to 16.17.1-r0

  • nodejs Alpine:v3.21

    Affected ranges
    • ECOSYSTEM: < 16.17.1-r0

    Update to 16.17.1-r0

  • nodejs Alpine:v3.22

    Affected ranges
    • ECOSYSTEM: < 16.17.1-r0

    Update to 16.17.1-r0

  • nodejs Alpine:v3.23

    Affected ranges
    • ECOSYSTEM: < 16.17.1-r0

    Update to 16.17.1-r0

  • nodejs Alpine:v3.24

    Affected ranges
    • ECOSYSTEM: < 16.17.1-r0

    Update to 16.17.1-r0

Original sources

Check your server →