~ / search / GHSA-3wcq-x3mq-6r9p

GHSA-3wcq-x3mq-6r9p

Potential memory exposure in dns-packet

Source: GitHub Advisory Database (reviewed) High CVE-2021-23386

Packages

EcosystemPackageAffectedFixed in
npm dns-packet >= 2.0.0, < 5.2.2 5.2.2
npm dns-packet < 1.3.2 1.3.2

Details

As written in the advisory (Markdown source, shown as plain text).

This affects the package dns-packet before versions 1.3.2 and 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.

References

External links from the advisory. They lead to third-party sites.