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.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "19.3.5"
},
{
"introduced": "0"
},
{
"last_affected": "20.3.1.2"
},
{
"introduced": "0"
},
{
"last_affected": "21.0.0.2"
}
]
}{
"versions": [
{
"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"
},
{
"introduced": "0"
},
{
"fixed": "20.3"
}
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-22883.json"
[
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "32"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "33"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "34"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"fixed": "9.2.6.0"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "8.0.25"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "8.58"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "8.59"
}
]
},
{
"events": [
{
"introduced": "0"
},
{
"fixed": "1.0.1.1"
}
]
}
]