p PatchFirst

CVE-2022-21824

CVE-2022-21824

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

Due to the formatting logic of the "console.table()" function it was not safe to allow user controlled input to be passed to the "properties" parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be "__proto__". The prototype pollution has very limited control, in that it only allows an empty string to be assigned to numerical keys of the object prototype.Node.js >= 12.22.9, >= 14.18.3, >= 16.13.2, and >= 17.3.1 use a null protoype for the object these properties are being assigned to.

CVSS 8.2 · High · EPSS 21.5% · 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 →