CVE Vulnerabilities

CVE-2022-0581

Use After Free

Published: Feb 14, 2022 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

Crash in the CMS protocol dissector in Wireshark 3.6.0 to 3.6.1 and 3.4.0 to 3.4.11 allows denial of service via packet injection or crafted capture file

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Wireshark Wireshark 3.4.0 (including) 3.4.12 (excluding)
Wireshark Wireshark 3.6.0 (including) 3.6.2 (excluding)
Wireshark Ubuntu bionic *
Wireshark Ubuntu esm-apps/bionic *
Wireshark Ubuntu esm-apps/focal *
Wireshark Ubuntu esm-apps/xenial *
Wireshark Ubuntu esm-infra-legacy/trusty *
Wireshark Ubuntu focal *
Wireshark Ubuntu impish *
Wireshark Ubuntu kinetic *
Wireshark Ubuntu lunar *
Wireshark Ubuntu mantic *
Wireshark Ubuntu trusty *
Wireshark Ubuntu trusty/esm *
Wireshark Ubuntu upstream *
Wireshark Ubuntu xenial *

Potential Mitigations

References