Skip to main content
← All vulnerabilities
CVE-2021-23386GHSA-3WCQ-X3MQ-6R9P

Remote Memory Exposure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.2.2, 1.3.2
None on Exploit-DB, Metasploit or GitHub

Summary

This affects the package dns-packet before 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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a dns-packet

    fixed in 5.2.2

  • dns-packetnpm

    From 2.0.0 · fixed in 5.2.2

  • dns-packetnpm

    fixed in 1.3.2

References 4

snyk.io

hackerone.com

GitHub · mafintosh/dns-packet