dns-packet@1.3.1 vulnerabilities

An abstract-encoding compliant module for encoding / decoding DNS packets

Direct Vulnerabilities

Known vulnerabilities in the dns-packet package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Remote Memory Exposure

dns-packet is an An abstract-encoding compliant module for encoding / decoding DNS packets

Affected versions of this package are vulnerable to Remote Memory Exposure. 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.

How to fix Remote Memory Exposure?

Upgrade dns-packet to version 1.3.4, 5.2.4 or higher.

<1.3.4 >=2.0.0 <5.2.4