Vulnerability · Published May 20, 2021 · Assigned by snyk

CVE-2021-23386Remote Memory Exposure

High 7.7

In plain English

A high-severity security flaw in dns-packet. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)1.4%top 26.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmdns-packet5.2.2GHSA-3wcq-x3mq-6r9p
npmdns-packet1.3.2GHSA-3wcq-x3mq-6r9p

Affected products (as reported)

VendorProductVersions
n/a dns-packet unspecified – before 5.2.2

References