Vulnerability Details : CVE-2021-23386
This affects the package dns-packet before 5.2.2. It creates buffers with allocUnsafe and does not always fill them before forming network packets. This can expose internal application memory over unencrypted network when querying crafted invalid domain names.
Products affected by CVE-2021-23386
- cpe:2.3:a:dns-packet_project:dns-packet:*:*:*:*:*:node.js:*:*
- Dns-packet Project » Dns-packet » For Node.jsVersions from including (>=) 2.0.0 and before (<) 5.2.2cpe:2.3:a:dns-packet_project:dns-packet:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-23386
0.30%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 50 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23386
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:N/A:N |
8.0
|
2.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
2.8
|
3.6
|
NIST | |
7.7
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L |
1.8
|
5.3
|
Snyk |
CWE ids for CVE-2021-23386
-
The product does not initialize a critical resource.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-23386
-
https://hackerone.com/bugs?subject=user&%3Breport_id=968858
Sign inPermissions Required;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563
Patch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719
Remote Memory Exposure in org.webjars.npm:dns-packet | SnykPatch;Third Party Advisory
-
https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56
do trim on encodingLength as well · mafintosh/dns-packet@25f15dd · GitHubPatch;Third Party Advisory
Jump to