{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-22931",
        "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
        "assignerShortName": "hackerone",
        "dateUpdated": "2024-08-03T18:58:25.927Z",
        "dateReserved": "2021-01-06T00:00:00",
        "datePublished": "2021-08-16T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
                "shortName": "hackerone",
                "dateUpdated": "2024-01-05T10:06:22.381715"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "https://github.com/nodejs/node",
                    "versions": [
                        {
                            "version": "Fixed version 16.6.2, 14.17.5, and 12.22.5",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/"
                },
                {
                    "url": "https://hackerone.com/reports/1178337"
                },
                {
                    "url": "https://www.oracle.com/security-alerts/cpuoct2021.html"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20210923-0001/"
                },
                {
                    "url": "https://www.oracle.com/security-alerts/cpujan2022.html"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20211022-0003/"
                },
                {
                    "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"
                },
                {
                    "url": "https://www.oracle.com/security-alerts/cpujul2022.html"
                },
                {
                    "name": "GLSA-202401-02",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202401-02"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "Improper Null Termination (CWE-170)",
                            "cweId": "CWE-170"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T18:58:25.927Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://hackerone.com/reports/1178337",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.oracle.com/security-alerts/cpuoct2021.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20210923-0001/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.oracle.com/security-alerts/cpujan2022.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20211022-0003/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.oracle.com/security-alerts/cpujul2022.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "GLSA-202401-02",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202401-02"
                    }
                ]
            }
        ]
    }
}