Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm

CVE-2021-23386

MEDIUM

Potential memory exposure in dns-packet

Also known asGHSA-3wcq-x3mq-6r9p
Published
May 20, 2021
Updated
Apr 10, 2026
Affected
2 pkgs
Patched
2 / 2
Exploits
None indexed

EPSS Exploitation Probability

via FIRST.org ↗
0.4%probability of exploitation in next 30 days
Lower Risk64th percentile0.00%
0.00%0.54%1.08%1.62%0.6%0.4%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

2 pkgs affected

Weekly download volume for affected packages — a proxy for how broadly this vulnerability is deployed.

dns-packetnpm
17.7Mdownloads / week

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

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
📦npmdns-packet2.0.0&&< 5.2.25.2.2
📦npmdns-packetall versions1.3.2

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2021-23386 in your stack?

O3 detects CVE-2021-23386 across npm dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.