{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-22931","id":"CVE-2021-22931","title":"Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to m…","description":"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.","descriptionLong":"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.","published":"2021-08-16T00:00:00.000Z","updated":"2026-10-24T10:30:23.877179625Z","reserved":"2021-01-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["NodeJS Node"],"affectedProducts":[{"vendor":"NodeJS","product":"Node","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"}],"platforms":[]}],"packages":[],"cwes":["CWE-170","CWE-20"],"aliases":["BIT-node-2021-22931","BIT-node-min-2021-22931"],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/","tags":["x_transferred","Patch","Vendor Advisory","fix"]},{"url":"https://hackerone.com/reports/1178337","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://security.netapp.com/advisory/ntap-20210923-0001/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://security.netapp.com/advisory/ntap-20211022-0003/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","tags":["x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/202401-02","tags":["vendor-advisory","x_transferred","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.21952,"epssPercentile":0.97706,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-22931","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22931","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-22931","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-22931","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["nodejs"],"critical":["CVSS 9.8 in a widely used technology","EPSS 22% with CVSS 9.8"],"attention":null}