{"api_version":"1","generated_at":"2026-04-23T02:37:33+00:00","cve":"CVE-2021-22918","urls":{"html":"https://cve.report/CVE-2021-22918","api":"https://cve.report/api/cve/CVE-2021-22918.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-22918","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-22918"},"summary":{"title":"CVE-2021-22918","description":"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().","state":"PUBLIC","assigner":"support@hackerone.com","published_at":"2021-07-12 11:15:00","updated_at":"2024-01-16 13:15:00"},"problem_types":["CWE-125"],"metrics":[],"references":[{"url":"https://security.netapp.com/advisory/ntap-20210805-0003/","name":"https://security.netapp.com/advisory/ntap-20210805-0003/","refsource":"CONFIRM","tags":[],"title":"July 2021 Node.js Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202401-23","name":"GLSA-202401-23","refsource":"","tags":[],"title":"libuv: Buffer Overread (GLSA 202401-23) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/","name":"https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/","refsource":"MISC","tags":[],"title":"July 2021 Security Releases | Node.js","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","name":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","refsource":"CONFIRM","tags":[],"title":"","mime":"application/pdf","httpstatus":"200","archivestatus":"200"},{"url":"https://hackerone.com/reports/1209681","name":"https://hackerone.com/reports/1209681","refsource":"MISC","tags":[],"title":"HackerOne","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22918","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22918","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"22918","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nodejs","cpe5":"node.js","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"-","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"22918","vulnerable":"1","versionEndIncluding":"16.4.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nodejs","cpe5":"node.js","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"-","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"22918","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"siemens","cpe5":"sinec_infrastructure_network_services","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-22918","qid":"159331","title":"Oracle Enterprise Linux Security Update for libuv (ELSA-2021-3075)"},{"cve":"CVE-2021-22918","qid":"159345","title":"Oracle Enterprise Linux Security Update for nodejs:12 (ELSA-2021-3073)"},{"cve":"CVE-2021-22918","qid":"159346","title":"Oracle Enterprise Linux Security Update for nodejs:14 (ELSA-2021-3074)"},{"cve":"CVE-2021-22918","qid":"178697","title":"Debian Security Update for libuv1 (DSA 4936-1)"},{"cve":"CVE-2021-22918","qid":"180501","title":"Debian Security Update for libuv1 (CVE-2021-22918)"},{"cve":"CVE-2021-22918","qid":"198428","title":"Ubuntu Security Notification for libuv vulnerability (USN-5007-1)"},{"cve":"CVE-2021-22918","qid":"239531","title":"Red Hat Update for rh-nodejs14-nodejs and rh-nodejs14-nodejs-nodemon (RHSA-2021:2932)"},{"cve":"CVE-2021-22918","qid":"239532","title":"Red Hat Update for rh-nodejs12-nodejs and rh-nodejs12-nodejs-nodemon (RHSA-2021:2931)"},{"cve":"CVE-2021-22918","qid":"239546","title":"Red Hat Update for libuv (RHSA-2021:3075)"},{"cve":"CVE-2021-22918","qid":"239547","title":"Red Hat Update for nodejs:14 (RHSA-2021:3074)"},{"cve":"CVE-2021-22918","qid":"239548","title":"Red Hat Update for nodejs:12 (RHSA-2021:3073)"},{"cve":"CVE-2021-22918","qid":"239654","title":"Red Hat Update for nodejs:12 (RHSA-2021:3639)"},{"cve":"CVE-2021-22918","qid":"239655","title":"Red Hat Update for nodejs:12 (RHSA-2021:3638)"},{"cve":"CVE-2021-22918","qid":"375691","title":"Node.js Multiple Vulnerabilities July 2021"},{"cve":"CVE-2021-22918","qid":"377329","title":"Alibaba Cloud Linux Security Update for nodejs:14 (ALINUX3-SA-2021:0056)"},{"cve":"CVE-2021-22918","qid":"377415","title":"Alibaba Cloud Linux Security Update for libuv (ALINUX3-SA-2022:0099)"},{"cve":"CVE-2021-22918","qid":"500442","title":"Alpine Linux Security Update for nodejs"},{"cve":"CVE-2021-22918","qid":"501451","title":"Alpine Linux Security Update for nodejs"},{"cve":"CVE-2021-22918","qid":"690034","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for node.js (c174118e-1b11-11ec-9d9d-0022489ad614)"},{"cve":"CVE-2021-22918","qid":"710841","title":"Gentoo Linux libuv Buffer Overread Vulnerability (GLSA 202401-23)"},{"cve":"CVE-2021-22918","qid":"750833","title":"OpenSUSE Security Update for nodejs12 (openSUSE-SU-2021:2327-1)"},{"cve":"CVE-2021-22918","qid":"750837","title":"SUSE Enterprise Linux Security Update for nodejs10 (SUSE-SU-2021:2353-1)"},{"cve":"CVE-2021-22918","qid":"750840","title":"OpenSUSE Security Update for nodejs10 (openSUSE-SU-2021:2353-1)"},{"cve":"CVE-2021-22918","qid":"750841","title":"OpenSUSE Security Update for nodejs14 (openSUSE-SU-2021:2354-1)"},{"cve":"CVE-2021-22918","qid":"750857","title":"OpenSUSE Security Update for nodejs14 (openSUSE-SU-2021:1060-1)"},{"cve":"CVE-2021-22918","qid":"750858","title":"OpenSUSE Security Update for nodejs10 (openSUSE-SU-2021:1061-1)"},{"cve":"CVE-2021-22918","qid":"750859","title":"OpenSUSE Security Update for nodejs12 (openSUSE-SU-2021:1059-1)"},{"cve":"CVE-2021-22918","qid":"900253","title":"CBL-Mariner Linux Security Update for nodejs 14.17.0"},{"cve":"CVE-2021-22918","qid":"903648","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for nodejs (4434)"},{"cve":"CVE-2021-22918","qid":"940245","title":"AlmaLinux Security Update for nodejs:14 (ALSA-2021:3074)"},{"cve":"CVE-2021-22918","qid":"940359","title":"AlmaLinux Security Update for libuv (ALSA-2021:3075)"},{"cve":"CVE-2021-22918","qid":"940398","title":"AlmaLinux Security Update for nodejs:12 (ALSA-2021:3073)"},{"cve":"CVE-2021-22918","qid":"960199","title":"Rocky Linux Security Update for libuv (RLSA-2021:3075)"}]},"source_records":{"cve_program":{"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"}]},"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()."}]}},"nvd":{"publishedDate":"2021-07-12 11:15:00","lastModifiedDate":"2024-01-16 13:15:00","problem_types":["CWE-125"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*","versionStartIncluding":"16.0.0","versionEndExcluding":"16.4.1","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*","versionStartIncluding":"14.0.0","versionEndExcluding":"14.17.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*","versionStartIncluding":"12.0.0","versionEndExcluding":"12.22.2","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*","versionEndExcluding":"1.0.1.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"22918","Ordinal":"197651","Title":"CVE-2021-22918","CVE":"CVE-2021-22918","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"22918","Ordinal":"1","NoteData":"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().","Type":"Description","Title":null},{"CveYear":"2021","CveId":"22918","Ordinal":"2","NoteData":"2021-07-12","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"22918","Ordinal":"3","NoteData":"2021-08-05","Type":"Other","Title":"Modified"}]}}}