dns-packet@1.3.1

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

  • latest version

    5.6.1

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    2 years ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable 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