{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-22931",
        "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
        "assignerShortName": "hackerone",
        "dateUpdated": "2025-04-30T22:24:34.672Z",
        "dateReserved": "2021-01-06T00:00:00.000Z",
        "datePublished": "2021-08-16T00:00:00.000Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1",
                "shortName": "hackerone",
                "dateUpdated": "2025-04-30T22:24:34.672Z"
            },
            "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": [
                {
                    "product": "Node",
                    "vendor": "NodeJS",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "versionType": "semver",
                            "version": "4.0",
                            "status": "affected",
                            "lessThan": "4.*"
                        },
                        {
                            "versionType": "semver",
                            "version": "5.0",
                            "status": "affected",
                            "lessThan": "5.*"
                        },
                        {
                            "versionType": "semver",
                            "version": "6.0",
                            "status": "affected",
                            "lessThan": "6.*"
                        },
                        {
                            "versionType": "semver",
                            "version": "7.0",
                            "status": "affected",
                            "lessThan": "7.*"
                        },
                        {
                            "versionType": "semver",
                            "version": "8.0",
                            "status": "affected",
                            "lessThan": "8.*"
                        },
                        {
                            "versionType": "semver",
                            "version": "9.0",
                            "status": "affected",
                            "lessThan": "9.*"
                        },
                        {
                            "versionType": "semver",
                            "version": "10.0",
                            "status": "affected",
                            "lessThan": "10.*"
                        },
                        {
                            "versionType": "semver",
                            "version": "11.0",
                            "status": "affected",
                            "lessThan": "11.*"
                        },
                        {
                            "versionType": "semver",
                            "version": "12.0",
                            "status": "affected",
                            "lessThan": "12.22.5"
                        },
                        {
                            "versionType": "semver",
                            "version": "13.0",
                            "status": "affected",
                            "lessThan": "13.*"
                        },
                        {
                            "versionType": "semver",
                            "version": "14.0",
                            "status": "affected",
                            "lessThan": "14.17.5"
                        },
                        {
                            "versionType": "semver",
                            "version": "15.0",
                            "status": "affected",
                            "lessThan": "15.*"
                        },
                        {
                            "versionType": "semver",
                            "version": "16.0",
                            "status": "affected",
                            "lessThan": "16.6.2"
                        }
                    ]
                }
            ],
            "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"
                    }
                ]
            },
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-01-11T21:01:01.127709Z",
                                "id": "CVE-2021-22931",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-11-18T21:43:52.191Z"
                }
            }
        ]
    }
}