CVE Vulnerabilities

CVE-2021-23386

Missing Initialization of Resource

Published: May 20, 2021 | Modified: Nov 21, 2024
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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
Dns-packetDns-packet_project*1.3.4 (excluding)
Dns-packetDns-packet_project2.0.0 (including)5.2.2 (excluding)

Potential Mitigations

References