Remote memory exposure in dns-packet
Priority LOW 37CWE-909Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.
Summary
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.
Why it matters now
EPSS 0.01425 73rd percentileScored 2026-11-07
Fix Partial dns-packet: 5.2.2dns-packet (npm): 5.2.2, 1.3.2Red Hat: 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | dns-packet | before 5.2.2 | 5.2.2 | Patch available | CNA |
| — | dns-packet (npm) | 2.0.0 to before 5.2.2 | 5.2.2 | Patch available | GHSA-3wcq-x3mq-6r9p |
| — | dns-packet (npm) | before 1.3.2 | 1.3.2 | Patch available | GHSA-3wcq-x3mq-6r9p |
- dns-packet Vendor— Affected before 5.2.2 Fixed in 5.2.2 Patch available CNA
- dns-packet (npm) Vendor— Affected 2.0.0 to before 5.2.2 Fixed in 5.2.2 Patch available GHSA-3wcq-x3mq-6r9p
- dns-packet (npm) Vendor— Affected before 1.3.2 Fixed in 1.3.2 Patch available GHSA-3wcq-x3mq-6r9p
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:dns-packet_project:dns-packet:*:*:*:*:*:node.js:*:* | before 1.3.4; 2.0.0 to before 5.2.2 | Vulnerable | Dns-packet Project |
- cpe:2.3:a:dns-packet_project:dns-packet:*:*:*:*:*:node.js:*:* Versions before 1.3.4; 2.0.0 to before 5.2.2 Vulnerable ·Dns-packet Project
Remediation
- Fix · CNA dns-packet Fixed in 5.2.2
- Fix · GHSA-3wcq-x3mq-6r9p dns-packet (npm) Fixed in 5.2.2 Advisory →
- Fix · GHSA-3wcq-x3mq-6r9p dns-packet (npm) Fixed in 1.3.2 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Service Mesh 2.0 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix planned: Will not fix |
Not affected: 2 products
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Fuse 7
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23386
- 2026-10-03 Alias added: GHSA-3wcq-x3mq-6r9p
References
Advisory 2
Sources
- CVE-2021-23386 · CVE Program
- CVE-2021-23386 · NVD
- FIRST EPSS
- GHSA-3wcq-x3mq-6r9p · GitHub Advisory Database · CC BY 4.0
- CVE-2021-23386 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences