{"cve":"CVE-2021-23386","nvd":{"published":"2021-05-20T17:15:07.567","modified":"2026-06-17T03:38:40.063","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-909"],"references":["https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56","https://hackerone.com/bugs?subject=user&amp%3Breport_id=968858","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719","https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563","https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56"],"products":["dns-packet_project:dns-packet"],"source":"nvd","synced_at":"2026-10-19T21:18:09.669877188+00:00"},"epss":{"cve":"CVE-2021-23386","score":0.01425,"percentile":0.72941,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-3wcq-x3mq-6r9p","url":"https://osv.dev/vulnerability/GHSA-3wcq-x3mq-6r9p","summary":"Potential memory exposure in dns-packet","modified":"2025-01-14T08:56:52.881745Z","packages":[{"ecosystem":"npm","name":"dns-packet","purl":"pkg:npm/dns-packet","ranges":[">=2.0.0 <5.2.2"],"fixed":["5.2.2"]},{"ecosystem":"npm","name":"dns-packet","purl":"pkg:npm/dns-packet","ranges":["<1.3.2"],"fixed":["1.3.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}