ALPINE-CVE-2021-22918

    Dashboard / Vulnerabilities / ALPINE-CVE-2021-22918

    ALPINE-CVE-2021-22918

    Published: 12 Jul 2021Last Modified: 27 Aug 2026
    Upstream:

    Summary:

    Details: 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().

    Affected packages

    Package

    Name: nodejs

    Purl: pkg:apk/alpine/nodejs?arch=source

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -12.22.2-r0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    ALPINE-CVE-2021-22918 | CVE-DB