CVE Vulnerabilities

CVE-2021-23386

Missing Initialization of Resource

Published: May 20, 2021 | Modified: Jul 12, 2022
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:P/I:N/A:N
RedHat/V2
RedHat/V3
6.3 MODERATE
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Ubuntu

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.

Weakness

The product does not initialize a critical resource.

Affected Software

Name Vendor Start Version End Version
Dns-packet Dns-packet_project * 1.3.4 (excluding)
Dns-packet Dns-packet_project 2.0.0 (including) 5.2.2 (excluding)

Potential Mitigations

References