ADVISORIES

GitHub Advisory Database

GHSA-3wcq-x3mq-6r9p

Potential memory exposure in dns-packet

Details

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

EcosystemPackageAffected versions
npmdns-packet
From 2.0.0 before 5.2.2 (fixed in 5.2.2)
npmdns-packet
All versions before 1.3.2 (fixed in 1.3.2)

References