OESA-2021-1114 (CVE-2021-22883)
Vulnerability from osv_openeuler – Published: 2021-04-07 11:04 – Updated: 2026-08-06 11:04 – Source websiteNode.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
Security Fix(es):
Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to a denial of service attack when too many connection attempts with an 'unknownProtocol' are established. This leads to a leak of file descriptors. If a file descriptor limit is configured on the system, then the server is unable to accept new connections and prevent the process also from opening, e.g. a file. If no file descriptor limit is configured, then this lead to an excessive memory usage and cause the system to run out of memory.(CVE-2021-22883)
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.(CVE-2021-22884)
| URL | Type | |
|---|---|---|
{
"affected": [
{
"ecosystem_specific": {
"aarch64": [
"npm-6.14.4-1.10.21.0.6.oe1.aarch64.rpm",
"nodejs-libs-10.21.0-6.oe1.aarch64.rpm",
"nodejs-debugsource-10.21.0-6.oe1.aarch64.rpm",
"nodejs-full-i18n-10.21.0-6.oe1.aarch64.rpm",
"nodejs-10.21.0-6.oe1.aarch64.rpm",
"nodejs-debuginfo-10.21.0-6.oe1.aarch64.rpm",
"nodejs-devel-10.21.0-6.oe1.aarch64.rpm",
"v8-devel-6.8.275.32-1.10.21.0.6.oe1.aarch64.rpm",
"npm-6.14.4-1.10.21.0.7.oe1.aarch64.rpm",
"nodejs-debuginfo-10.21.0-7.oe1.aarch64.rpm",
"v8-devel-6.8.275.32-1.10.21.0.7.oe1.aarch64.rpm",
"nodejs-full-i18n-10.21.0-7.oe1.aarch64.rpm",
"nodejs-devel-10.21.0-7.oe1.aarch64.rpm",
"nodejs-10.21.0-7.oe1.aarch64.rpm",
"nodejs-debugsource-10.21.0-7.oe1.aarch64.rpm",
"nodejs-libs-10.21.0-7.oe1.aarch64.rpm"
],
"noarch": [
"nodejs-docs-10.21.0-6.oe1.noarch.rpm",
"nodejs-docs-10.21.0-7.oe1.noarch.rpm"
],
"src": [
"nodejs-10.21.0-6.oe1.src.rpm",
"nodejs-10.21.0-7.oe1.src.rpm"
],
"x86_64": [
"v8-devel-6.8.275.32-1.10.21.0.6.oe1.x86_64.rpm",
"nodejs-full-i18n-10.21.0-6.oe1.x86_64.rpm",
"nodejs-10.21.0-6.oe1.x86_64.rpm",
"nodejs-debugsource-10.21.0-6.oe1.x86_64.rpm",
"nodejs-libs-10.21.0-6.oe1.x86_64.rpm",
"nodejs-devel-10.21.0-6.oe1.x86_64.rpm",
"nodejs-debuginfo-10.21.0-6.oe1.x86_64.rpm",
"npm-6.14.4-1.10.21.0.6.oe1.x86_64.rpm",
"nodejs-libs-10.21.0-7.oe1.x86_64.rpm",
"nodejs-debugsource-10.21.0-7.oe1.x86_64.rpm",
"nodejs-debuginfo-10.21.0-7.oe1.x86_64.rpm",
"nodejs-full-i18n-10.21.0-7.oe1.x86_64.rpm",
"nodejs-devel-10.21.0-7.oe1.x86_64.rpm",
"v8-devel-6.8.275.32-1.10.21.0.7.oe1.x86_64.rpm",
"npm-6.14.4-1.10.21.0.7.oe1.x86_64.rpm",
"nodejs-10.21.0-7.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS",
"name": "nodejs",
"purl": "pkg:rpm/openEuler/nodejs\u0026distro=openEuler-20.03-LTS"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "10.21.0-7.oe1"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"ecosystem_specific": {
"aarch64": [
"npm-6.14.4-1.10.21.0.7.oe1.aarch64.rpm",
"nodejs-debuginfo-10.21.0-7.oe1.aarch64.rpm",
"v8-devel-6.8.275.32-1.10.21.0.7.oe1.aarch64.rpm",
"nodejs-full-i18n-10.21.0-7.oe1.aarch64.rpm",
"nodejs-devel-10.21.0-7.oe1.aarch64.rpm",
"nodejs-10.21.0-7.oe1.aarch64.rpm",
"nodejs-debugsource-10.21.0-7.oe1.aarch64.rpm",
"nodejs-libs-10.21.0-7.oe1.aarch64.rpm"
],
"noarch": [
"nodejs-docs-10.21.0-7.oe1.noarch.rpm"
],
"src": [
"nodejs-10.21.0-7.oe1.src.rpm"
],
"x86_64": [
"nodejs-libs-10.21.0-7.oe1.x86_64.rpm",
"nodejs-debugsource-10.21.0-7.oe1.x86_64.rpm",
"nodejs-debuginfo-10.21.0-7.oe1.x86_64.rpm",
"nodejs-full-i18n-10.21.0-7.oe1.x86_64.rpm",
"nodejs-devel-10.21.0-7.oe1.x86_64.rpm",
"v8-devel-6.8.275.32-1.10.21.0.7.oe1.x86_64.rpm",
"npm-6.14.4-1.10.21.0.7.oe1.x86_64.rpm",
"nodejs-10.21.0-7.oe1.x86_64.rpm"
]
},
"package": {
"ecosystem": "openEuler:20.03-LTS-SP1",
"name": "nodejs",
"purl": "pkg:rpm/openEuler/nodejs\u0026distro=openEuler-20.03-LTS-SP1"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "10.21.0-7.oe1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"severity": "High"
},
"details": "Node.js is a platform built on Chrome\u0027s JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.\r\n\r\nSecurity Fix(es):\r\n\r\nNode.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to a denial of service attack when too many connection attempts with an \u0026apos;unknownProtocol\u0026apos; are established. This leads to a leak of file descriptors. If a file descriptor limit is configured on the system, then the server is unable to accept new connections and prevent the process also from opening, e.g. a file. If no file descriptor limit is configured, then this lead to an excessive memory usage and cause the system to run out of memory.(CVE-2021-22883)\r\n\r\nNode.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 \u201clocalhost6\u201d. When \u201clocalhost6\u201d 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\u0026apos;s DNS server or can spoof its responses, the DNS rebinding protection can be bypassed by using the \u201clocalhost6\u201d domain. As long as the attacker uses the \u201clocalhost6\u201d domain, they can still apply the attack described in CVE-2018-7160.(CVE-2021-22884)",
"id": "OESA-2021-1114",
"modified": "2026-08-06T11:04:21Z",
"published": "2021-04-07T11:04:21Z",
"references": [
{
"type": "ADVISORY",
"url": "https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1114"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22883"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-22884"
}
],
"schema_version": "1.7.2",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "nodejs security update",
"upstream": [
"CVE-2021-22883",
"CVE-2021-22884"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.