dns-socket@2.0.0

Vulnerabilities

1 via 1 paths

Dependencies

3

Source

npm

Find, fix and prevent vulnerabilities in your code.

Severity
  • 1
Status
  • 1
  • 0
  • 0

high severity
new

Remote Memory Exposure

  • Vulnerable module: dns-packet
  • Introduced through: dns-packet@3.0.1

Detailed paths

  • Introduced through: dns-socket@2.0.0 dns-packet@3.0.1
    Remediation: Upgrade to dns-socket@4.0.0.

Overview

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.

Remediation

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

References