Severity: high

    Memory Exposure

    dns-packet

    Overview

    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.

    Remediation

    Upgrade to version 5.2.2 or later

    Resources

    Have content suggestions? Visit npmjs.com/support.

    Advisory timeline

    1. published

      Advisory Published
      May 24th, 2021
    2. reported

      Reported by Anonymous
      May 24th, 2021