What’s Vulnerable › Vulnerabilities

CVE-2021-23386: Remote Memory Exposure

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.

Affected products

How to fix

Upgrade to a fixed version: dns-packet 1.3.4, 5.2.2; Npm Dns-Packet 5.2.2, 1.3.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-23386 or the next vulnerability affects your stack