p PatchFirst

CVE-2020-8252

CVE-2020-8252

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

The implementation of realpath in libuv < 10.22.1, < 12.18.4, and < 14.9.0 used within Node.js incorrectly determined the buffer size which can result in a buffer overflow if the resolved path is longer than 256 bytes.

CVSS 7.8 · High · EPSS 0.7% · 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.22.1: Affected (semver)
    • ≥ 11.0, < 11.*: Affected (semver)
    • ≥ 12.0, < 12.18.4: Affected (semver)
    • ≥ 13.0, < 13.*: Affected (semver)
    • ≥ 14.0, < 14.9.0: Affected (semver)

    Update to 10.22.1; Update to 12.18.4; Update to 14.9.0

  • libuv1 Debian:12

    Affected ranges
    • ECOSYSTEM: < 1.39.0-1

    Update to 1.39.0-1

  • libuv1 Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.39.0-1

    Update to 1.39.0-1

  • libuv1 Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.39.0-1

    Update to 1.39.0-1

  • libuv1 Ubuntu:20.04:LTS

    Versions
    • 1.30.1-1
    • 1.33.1-2
    • 1.33.1-2ubuntu2
    • 1.33.1-3ubuntu1
    • 1.34.2-1ubuntu1
    Affected ranges
    • ECOSYSTEM: < 1.34.2-1ubuntu1.1

    Update to 1.34.2-1ubuntu1.1

Original sources

Check your server →