p PatchFirst

CVE-2020-8265

CVE-2020-8265

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

Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 are vulnerable to a use-after-free bug in its TLS implementation. When writing to a TLS enabled socket, node::StreamBase::Write calls node::TLSWrap::DoWrite with a freshly allocated WriteWrap object as first argument. If the DoWrite method does not return an error, this object is passed back to the caller as part of a StreamWriteResult structure. This may be exploited to corrupt memory leading to a Denial of Service or potentially other exploits.

CVSS 8.1 · High · EPSS 9.1% · 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.23.1: Affected (semver)
    • ≥ 11.0, < 11.*: Affected (semver)
    • ≥ 12.0, < 12.20.1: Affected (semver)
    • ≥ 13.0, < 13.*: Affected (semver)
    • ≥ 14.0, < 14.15.4: Affected (semver)
    • ≥ 15.0, < 15.5.1: Affected (semver)

    Update to 10.23.1; Update to 12.20.1; Update to 14.15.4; Update to 15.5.1

  • nodejs Debian:12

    Affected ranges
    • ECOSYSTEM: < 12.20.1~dfsg-1

    Update to 12.20.1~dfsg-1

  • nodejs Debian:13

    Affected ranges
    • ECOSYSTEM: < 12.20.1~dfsg-1

    Update to 12.20.1~dfsg-1

  • nodejs Debian:14

    Affected ranges
    • ECOSYSTEM: < 12.20.1~dfsg-1

    Update to 12.20.1~dfsg-1

  • nodejs Ubuntu:Pro:16.04:LTS

    Versions
    • 0.10.25~dfsg2-2ubuntu1
    • 4.2.2~dfsg-1
    • 4.2.3~dfsg-1
    • 4.2.4~dfsg-1ubuntu1
    • 4.2.4~dfsg-2
    • 4.2.6~dfsg-1ubuntu1
    • 4.2.6~dfsg-1ubuntu4
    • 4.2.6~dfsg-1ubuntu4.1
    • 4.2.6~dfsg-1ubuntu4.2
    • 4.2.6~dfsg-1ubuntu4.2+esm1
    Affected ranges
    • ECOSYSTEM: < 4.2.6~dfsg-1ubuntu4.2+esm2

    Update to 4.2.6~dfsg-1ubuntu4.2+esm2

  • nodejs Ubuntu:Pro:18.04:LTS

    Versions
    • 6.11.4~dfsg-1ubuntu1
    • 6.11.4~dfsg-1ubuntu2
    • 6.12.0~dfsg-1ubuntu1
    • 6.12.0~dfsg-2ubuntu1
    • 6.12.0~dfsg-2ubuntu2
    • 8.10.0~dfsg-2
    • 8.10.0~dfsg-2ubuntu0.2
    • 8.10.0~dfsg-2ubuntu0.3
    • 8.10.0~dfsg-2ubuntu0.4
    • 8.10.0~dfsg-2ubuntu0.4+esm1
    Affected ranges
    • ECOSYSTEM: < 8.10.0~dfsg-2ubuntu0.4+esm2

    Update to 8.10.0~dfsg-2ubuntu0.4+esm2

  • nodejs Ubuntu:20.04:LTS

    Versions
    • 10.15.2~dfsg-2ubuntu1
    • 10.17.0~dfsg-2ubuntu4
    • 10.17.0~dfsg-2ubuntu6
    • 10.19.0~dfsg-3ubuntu1
    Affected ranges
    • ECOSYSTEM: < 10.19.0~dfsg-3ubuntu1.1

    Update to 10.19.0~dfsg-3ubuntu1.1

Original sources

Check your server →