CVE-2021-23386

Summary

CVECVE-2021-23386
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-05-20 17:15:00 UTC
Updated2022-07-12 17:42:00 UTC
DescriptionThis 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.

Risk And Classification

Problem Types: CWE-909

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Dns-packet Project Dns-packet All All All All

References

ReferenceSourceLinkTags
Remote Memory Exposure in dns-packet | Snyk MISC snyk.io
Remote Memory Exposure in org.webjars.npm:dns-packet | Snyk MISC snyk.io
do trim on encodingLength as well · mafintosh/dns-packet@25f15dd · GitHub MISC github.com
HackerOne MISC hackerone.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

LEGACY: chalker

Legacy QID Mappings

  • 982382 Nodejs (npm) Security Update for dns-packet (GHSA-3wcq-x3mq-6r9p)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report