node — security advisory
Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to DNS rebinding attacks as the whitelist includes “localhost6”. When “localhost6” is not present in /etc/hosts, it is just an ordinary domain that is resolved via DNS, i.e., over network. If the attacker controls the victim's DNS server or can spoof its responses, the DNS rebinding protection can be bypassed by using the “localhost6” domain. As long as the attacker uses the “localhost6” domain, they can still apply the attack described in CVE-2018-7160.
- Products
- node
- Affected versions
- Not specified
- Fixed versions
- 10.24.0, 12.21.0, 14.16.0, 15.10.0
- CVEs
- CVE-2021-22884
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 19:55 UTC · Revision 1
Source evidence
Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to DNS rebinding attacks as the whitelist includes “localhost6”. When “localhost6” is not present in /etc/hosts, it is just an ordinary domain that is resolved via DNS, i.e., over network. If the attacker controls the victim's DNS server or can spoof its responses, the DNS rebinding protection can be bypassed by using the “localhost6” domain. As long as the attacker uses the “localhost6” domain, they can still apply the attack described in CVE-2018-7160.
osv:BIT-node-2021-22884
node
Fixed versions: 10.24.0, 12.21.0, 14.16.0, 15.10.0
Complete source record
{
"id": "04741036325d7745d1790a40a135bd73b3e0837d98755d6a5d147805840315e5",
"url": "https://osv.dev/vulnerability/BIT-node-2021-22884",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "BIT-node-2021-22884",
"summary": "Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to DNS rebinding attacks as the whitelist includes “localhost6”. When “localhost6” is not present in /etc/hosts, it is just an ordinary domain that is resolved via DNS, i.e., over network. If the attacker controls the victim's DNS server or can spoof its responses, the DNS rebinding protection can be bypassed by using the “localhost6” domain. As long as the attacker uses the “localhost6” domain, they can still apply the attack described in CVE-2018-7160.",
"evidence": "osv:BIT-node-2021-22884",
"products": [
{
"name": {
"value": "node",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "10.24.0",
"evidence": "/affected/0/ranges"
},
{
"value": "12.21.0",
"evidence": "/affected/0/ranges"
},
{
"value": "14.16.0",
"evidence": "/affected/0/ranges"
},
{
"value": "15.10.0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "BIT-node-2021-22884",
"aliases": [
"BIT-node-2021-22884",
"BIT-node-min-2021-22884",
"CVE-2021-22884"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "10.0.0"
},
{
"fixed": "10.24.0"
},
{
"introduced": "12.0.0"
},
{
"fixed": "12.21.0"
},
{
"introduced": "14.0.0"
},
{
"fixed": "14.16.0"
},
{
"introduced": "15.0.0"
},
{
"fixed": "15.10.0"
}
]
}
],
"package": {
"name": "node",
"purl": "pkg:bitnami/node",
"ecosystem": "Bitnami"
},
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"database_specific": {
"source": "https://github.com/bitnami/vulndb/tree/main/data/node/BIT-node-2021-22884.json"
}
}
],
"modified": "2026-10-16T09:45:31.649543146Z",
"provider": "osv",
"references": [
"https://hackerone.com/reports/1069487",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E4FRS5ZVK4ZQ7XIJQNGIKUXG2DJFHLO7/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F45Y7TXSU33MTKB6AGL2Q5V5ZOCNPKOG/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HSYFUGKFUSZ27M5TEZ3FKILWTWFJTFAZ/",
"https://nodejs.org/en/blog/vulnerability/february-2021-security-releases/",
"https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/#node-js-inspector-dns-rebinding-vulnerability-cve-2018-7160",
"https://security.netapp.com/advisory/ntap-20210416-0001/",
"https://security.netapp.com/advisory/ntap-20210723-0001/",
"https://www.oracle.com//security-alerts/cpujul2021.html",
"https://www.oracle.com/security-alerts/cpuApr2021.html",
"https://www.oracle.com/security-alerts/cpuoct2021.html",
"https://nvd.nist.gov/vuln/detail/CVE-2021-22884"
],
"provider_metadata": {
"cpes": [
"cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
"cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*"
],
"severity": "High"
}
},
"related_cves": [
{
"value": "CVE-2021-22884",
"evidence": "/aliases"
}
],
"security_relevant": true,
"severity_evidence": "/database_specific/severity"
},
"source_id": "core-osv",
"document_id": 338490,
"published_at": "2024-03-06T11:07:03.702+00:00"
}