GHSA-3wcq-x3mq-6r9p

Potential memory exposure in dns-packet

At a glance

Published
Updated
CVE
CVE-2021-23386
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L

Description

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.

Affected packages

PackageVersions
npm · dns-packetintroduced 2.0.0, fixed 5.2.2
npm · dns-packetintroduced 0, fixed 1.3.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database