{"schema_version":"1.7.5","id":"CVE-2021-22931","published":"2021-08-16T19:15:13.127Z","modified":"2026-07-08T05:59:35.609167617Z","aliases":["BIT-node-2021-22931","BIT-node-min-2021-22931"],"related":["ALSA-2021:3623","ALSA-2021:3666","SUSE-SU-2021:2823-1","SUSE-SU-2021:2824-1","SUSE-SU-2021:2875-1","SUSE-SU-2021:2953-1","SUSE-SU-2021:3184-1","SUSE-SU-2021:3211-1","openSUSE-SU-2021:1214-1","openSUSE-SU-2021:1239-1","openSUSE-SU-2021:1313-1","openSUSE-SU-2021:2875-1","openSUSE-SU-2021:2953-1","openSUSE-SU-2021:3211-1"],"details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/graalvm/graalvm-ce-builds","events":[{"introduced":"55ff3f2503007a859219b5e7f68b0f6ca95225f0"},{"last_affected":"771d7a8d2b73cf72a2622ca6305dcc9e9306f296"}],"database_specific":{"cpe":["cpe:2.3:a:oracle:graalvm:20.3.3:*:*:*:enterprise:*:*:*","cpe:2.3:a:oracle:graalvm:21.2.0:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"20.3.3"},{"last_affected":"20.3.3"},{"introduced":"21.2.0"},{"last_affected":"21.2.0"}],"source":"CPE_STRING"}}],"versions":["20.3.3","21.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22931.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/nodejs/node","events":[{"introduced":"2f45ad8060e13d5ac912335096d21526f2f9602b"},{"last_affected":"921493e2287aa895679620155b5288b2e1587bfd"},{"introduced":"42cce5a9d0fd905bf4ad7a2528c36572dfb8b5ad"},{"fixed":"151261efb8b85696620f80ecc1f50d9c1f886a1b"},{"introduced":"73aa21658dfa6a22c06451d080152b32b1f98dbe"},{"last_affected":"354b6a93bd1d66f1833489d6fe01a2b0e8f6aff9"},{"introduced":"c1da528bc25c9cc5a8240a7b4f136f5968f6e113"},{"fixed":"db159ab870b1aa7f55e4e450c81764f22bf0ef80"},{"introduced":"7162e686b18d22b4385fa5c04274fb04dbd810c7"},{"fixed":"bfe80913e88139da1aa283475cdbc060ea98ae6f"}],"database_specific":{"cpe":["cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*","cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*"],"extracted_events":[{"introduced":"12.0.0"},{"last_affected":"12.12.0"},{"introduced":"12.13.0"},{"fixed":"12.22.5"},{"introduced":"14.0.0"},{"last_affected":"14.14.0"},{"introduced":"14.15.0"},{"fixed":"14.17.5"},{"introduced":"16.0.0"},{"fixed":"16.6.2"}],"source":"CPE_RANGE"}}],"versions":["v16.6.1","v16.6.0","v14.17.4","v12.22.4","v16.5.0","v16.4.2","v14.17.3","v12.22.3","v14.17.2","v16.4.1","v12.22.2","v16.4.0","v14.17.1","v16.3.0","v16.2.0","v14.17.0","v16.1.0","v16.0.0","v14.16.1","v12.22.1","v12.22.0","v14.16.0","v12.21.0","v12.20.2","v14.15.5","v14.15.4","v12.20.1","v14.15.3","v14.15.2","v12.20.0","v12.19.1","v14.15.1","v14.15.0","v14.14.0","v14.13.1","v12.19.0","v14.13.0","v14.12.0","v12.18.4","v14.11.0","v14.10.1","v14.10.0","v14.9.0","v14.8.0","v14.7.0","v12.18.3","v14.6.0","v14.5.0","v12.18.2","v12.18.1","v12.18.0","v14.4.0","v12.17.0","v14.3.0","v14.2.0","v14.1.0","v12.16.3","v14.0.0","v12.16.2","v12.16.1","v12.16.0","v12.15.0","v12.14.1","v12.14.0","v12.13.1","v12.13.0","v12.12.0","v12.11.1","v12.11.0","v12.10.0","v12.9.1","v12.9.0","v12.8.1","v12.8.0","v12.7.0","v12.6.0","v12.5.0","v12.4.0","v12.3.1","v12.3.0","v12.2.0","v12.1.0","v12.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22931.json"}}],"references":[{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202401-02"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210923-0001/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20211022-0003/"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"REPORT","url":"https://hackerone.com/reports/1178337"},{"type":"FIX","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"},{"type":"FIX","url":"https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:oracle:mysql_cluster:*:*:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"8.0.26"}],"source":"CPE_RANGE","vendor_product":"oracle:mysql_cluster"},{"cpes":["cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*"],"extracted_events":[{"fixed":"1.0.1.1"}],"source":"CPE_RANGE","vendor_product":"siemens:sinec_infrastructure_network_services"},{"cpes":["cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.57:*:*:*:*:*:*:*","cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:*","cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"8.57"},{"last_affected":"8.57"},{"introduced":"8.58"},{"last_affected":"8.58"},{"introduced":"8.59"},{"last_affected":"8.59"}],"source":"CPE_STRING","vendor_product":"oracle:peoplesoft_enterprise_peopletools"}]},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}