Vulnerability library
Security checkFebruary 12, 2025

Potential memory exposure in dns-packet

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmdns-packet

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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:

  • Affected version(s): **>= 2.0.0, < 5.2.2 < 1.3.2**
  • Patched version(s): **5.2.2 1.3.2**

References

Could your website be exposed too?

SmartScanner can check your website for Potential memory exposure in dns-packet and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 12, 2025