CVE catalog

CVE-2021-22918

libuv1: CVE-2021-22918

[CVE catalog]

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

Node.js before 16.4.1, 14.17.2, 12.22.2 is vulnerable to an out-of-bounds read when uv__idna_toascii() is used to convert strings to ASCII. The pointer p is read and increased without checking whether it is beyond pe, with the latter holding a pointer to the end of the buffer. This can lead to information disclosures or crashes. This function can be triggered via uv_getaddrinfo().

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianlibuv1sid1.53.0-1fixed
Debianlibuv1forky1.53.0-1fixed
Debianlibuv1trixie1.50.0-2fixed
Debianlibuv1bookworm1.44.2-1+deb12u1fixed
Debianlibuv1bookworm-security1.44.2-1+deb12u1fixed
BitnaminodeNot reported12.22.2fixed
BitnaminodeNot reported14.17.2fixed
BitnaminodeNot reported16.4.1fixed
Bitnaminode-minNot reported12.22.2fixed
Bitnaminode-minNot reported14.17.2fixed
Bitnaminode-minNot reported16.4.1fixed
Alpinenodejs3.1112.22.2-r0fixed
Alpinenodejs3.1212.22.2-r0fixed
Alpinenodejs3.1314.17.3-r0fixed
Alpinenodejs3.1414.17.3-r0fixed
Ubuntulibuv120.041.30.1-1vulnerable
Ubuntulibuv120.041.33.1-2vulnerable
Ubuntulibuv120.041.33.1-2ubuntu2vulnerable
Ubuntulibuv120.041.33.1-3ubuntu1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1.1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1.3fixed
Ubuntulibuv120.041.30.1-1vulnerable
Ubuntulibuv120.041.33.1-2vulnerable
Ubuntulibuv120.041.33.1-2ubuntu2vulnerable
Ubuntulibuv120.041.33.1-3ubuntu1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1.1vulnerable
Ubuntulibuv120.041.34.2-1ubuntu1.3fixed
Opensuselibuvtumbleweed1.42.0-1.2fixed
Opensusenodejs16tumbleweed16.6.2-2.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibuv1sourcesid1.40.0-2not yet assignedNot reported[990561]
Debianlibuv1sourceforky1.40.0-2not yet assignedNot reported[990561]
Debianlibuv1sourcetrixie1.40.0-2not yet assignedNot reported[990561]
Debianlibuv1sourcebookworm1.40.0-2not yet assignedNot reported[990561]
BitnaminodeBitnamiNot reported12.22.2Not reportedBIT-NODE-2021-22918Not reported
BitnaminodeBitnamiNot reported14.17.2Not reportedBIT-NODE-2021-22918Not reported
BitnaminodeBitnamiNot reported16.4.1Not reportedBIT-NODE-2021-22918Not reported
Bitnaminode-minBitnamiNot reported12.22.2Not reportedBIT-NODE-MIN-2021-22918Not reported
Bitnaminode-minBitnamiNot reported14.17.2Not reportedBIT-NODE-MIN-2021-22918Not reported
Bitnaminode-minBitnamiNot reported16.4.1Not reportedBIT-NODE-MIN-2021-22918Not reported
Alpinenodejsapk3.1112.22.2-r0Not reportedALPINE-CVE-2021-22918Not reported
Alpinenodejsapk3.1212.22.2-r0Not reportedALPINE-CVE-2021-22918Not reported
Alpinenodejsapk3.1314.17.3-r0Not reportedALPINE-CVE-2021-22918Not reported
Alpinenodejsapk3.1414.17.3-r0Not reportedALPINE-CVE-2021-22918Not reported
Ubuntulibuv1deb20.041.34.2-1ubuntu1.3Not reportedUBUNTU-CVE-2021-22918Not reported
Ubuntulibuv1deb20.041.34.2-1ubuntu1.3Not reportedUSN-5007-1Not reported
Opensuselibuvrpmtumbleweed1.42.0-1.2Not reportedOPENSUSE-SU-2024:11007-1Not reported
Opensusenodejs16rpmtumbleweed16.6.2-2.2Not reportedOPENSUSE-SU-2024:11097-1Not reported

[Debian bug #990561]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libuv1]Unknown
    Details (4)
    • 1.44.2-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · bookworm; dsa · libuv1 · debian · 12

    • 1.44.2-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · bookworm; dsa · libuv1 · debian · 12

    • 1.44.2-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · bookworm; dsa · libuv1 · debian · 12

    • 1.44.2-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · bookworm; dsa · libuv1 · debian · 12

  • [libuv1-dev]Unknown

    Source package: [libuv1]

    Details (4)
    • 1.44.2-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · bookworm; dsa · libuv1 · debian · 12

    • 1.44.2-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · bookworm; dsa · libuv1 · debian · 12

    • 1.44.2-1+deb12u1 · amd64 · bookworm-security

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · bookworm; dsa · libuv1 · debian · 12

    • 1.44.2-1+deb12u1 · arm64 · bookworm-security

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · bookworm; dsa · libuv1 · debian · 12

[Debian 13 (Trixie)]

  • [libuv1-dev]Unknown

    Source package: [libuv1]

    Details (2)
    • 1.50.0-2 · amd64 · trixie

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · 13

    • 1.50.0-2 · arm64 · trixie

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · 13

  • [libuv1-doc]Unknown

    Source package: [libuv1]

    Details (2)
    • 1.50.0-2 · all · trixie

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · 13

    • 1.50.0-2 · all · trixie

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · 13

  • [libuv1t64]Unknown

    Source package: [libuv1]

    Details (2)
    • 1.50.0-2 · amd64 · trixie

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · 13

    • 1.50.0-2 · arm64 · trixie

      Fixed · Fixed: 1.40.0-2

      dsa · libuv1 · debian · 13

[openSUSE Tumbleweed]

  • [libuv1]Unknown

    Source package: [libuv]

    Details (1)
    • 1.52.0-1.4 · x86_64 · tumbleweed

      Unknown · Fixed: 1.42.0-1.2

      Version impact unknown

      dsa · libuv · opensuse · tumbleweed

  • [libuv1-32bit]Unknown

    Source package: [libuv]

    Details (1)
    • 1.52.0-1.4 · x86_64 · tumbleweed

      Unknown · Fixed: 1.42.0-1.2

      Version impact unknown

      dsa · libuv · opensuse · tumbleweed

  • [libuv-devel]Unknown

    Source package: [libuv]

    Details (1)
    • 1.52.0-1.4 · x86_64 · tumbleweed

      Unknown · Fixed: 1.42.0-1.2

      Version impact unknown

      dsa · libuv · opensuse · tumbleweed

Observed:

References