{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-22918",
        "ASSIGNER": "support@hackerone.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "https://github.com/nodejs/node",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Fixed in 16.4.1, 14.17.2, and 12.22.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Out-of-bounds Read (CWE-125)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://hackerone.com/reports/1209681",
                "url": "https://hackerone.com/reports/1209681"
            },
            {
                "refsource": "MISC",
                "name": "https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/",
                "url": "https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20210805-0003/",
                "url": "https://security.netapp.com/advisory/ntap-20210805-0003/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
                "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202401-23",
                "url": "https://security.gentoo.org/glsa/202401-23"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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()."
            }
        ]
    }
}