Vulnerabilities/

Potential memory exposure in dns-packet

Severity:
High

Description

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.

Recommendation

Update the dns-packet package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
dns-packet
Anything's wrong? Let us know Last updated on February 12, 2025