CVEvulnerability
CVE-2021-23386
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-05-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.7 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.0 MEDIUM — AV:N/AC:L/Au:S/C:P/I:N/A:N
- Weaknesses
- CWE-909
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 configurations
• dns-packet project dns-packet (< 1.3.4)
• dns-packet project dns-packet (>= 2.0.0 < 5.2.2)
Related
Weakness · CWE (1)
- CWE-909 Missing Initialization of Resource weakness
References
- https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56 Patch, Third Party Advisory
- https://hackerone.com/bugs?subject=user&%3Breport_id=968858 Permissions Required, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563 Patch, Third Party Advisory
- https://github.com/mafintosh/dns-packet/commit/25f15dd0fedc53688b25fd053ebbdffe3d5c1c56 Patch, Third Party Advisory
- https://hackerone.com/bugs?subject=user&%3Breport_id=968858 Permissions Required, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1295719 Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DNSPACKET-1293563 Patch, Third Party Advisory