CVEvulnerability

CVE-2021-23386

6.5 MEDIUM Published 2021-05-20 Modified 2026-06-17 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