CVE-2021-23386
High
Description
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.
SeverityHigh
CVSS7.7
Exploit probability—
ProductDns-packet
PublishedMay 20, 2021
First seenMay 20, 2021
How to fix
Update
- dns-packet_project dns-packet1.3.4, 5.2.2 or later
- dns-packet5.2.2, 1.3.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dns-packet_project dns-packet | v < 1.3.4, 2.0.0 ≤ v < 5.2.2 | 1.3.4, 5.2.2 |
| dns-packetnpm | 2.0.0 ≤ v < 5.2.2, v < 1.3.2 | 5.2.2, 1.3.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.