Skip to content
OpenAdvisories
High · 7.7 CVE-2021-23386 EUVD-2021-0923GHSA-3wcq-x3mq-6r9p

Remote Memory Exposure

Published May 20, 2021 · Updated Sep 16, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— dns-packet unspecified – < 5.2.2 5.2.2

Affected packages

EcosystemPackageAffectedFixedRecord
npm dns-packet >= 2.0.0, < 5.2.2 5.2.2 GHSA-3wcq-x3mq-6r9p
npm dns-packet < 1.3.2 1.3.2 GHSA-3wcq-x3mq-6r9p

References