cve.bz

CVE-2021-23386

6.5 mediumEPSS 1.4%

Medium (6.5) in dns-packet project dns-packet. EPSS 1.4% chance of exploitation in the next 30 days. Fixed in dns-packet 1.3.2, 5.2.2.

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
1.4% chance of exploitation in the next 30 days; higher than 72% of CVEs (scores of 2026-10-31)
CWE
CWE-909
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3wcq-x3mq-6r9pnpmdns-packet>=2.0.0 <5.2.25.2.2
GHSA-3wcq-x3mq-6r9pnpmdns-packet<1.3.21.3.2

References

Check your stackJSON