CVE Vulnerabilities

CVE-2022-26722

Improper Initialization

Published: May 26, 2022 | Modified: Jun 07, 2022
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
9.3 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu

A memory initialization issue was addressed. This issue is fixed in Security Update 2022-004 Catalina, macOS Monterey 12.4, macOS Big Sur 11.6.6. A malicious application may be able to gain root privileges.

Weakness

The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used.

Affected Software

Name Vendor Start Version End Version
Mac_os_x Apple * 10.15.7 (excluding)
Mac_os_x Apple 10.15.7 (including) 10.15.7 (including)
Mac_os_x Apple 10.15.7-security_update_2020-001 (including) 10.15.7-security_update_2020-001 (including)
Mac_os_x Apple 10.15.7-security_update_2021-001 (including) 10.15.7-security_update_2021-001 (including)
Mac_os_x Apple 10.15.7-security_update_2021-002 (including) 10.15.7-security_update_2021-002 (including)
Mac_os_x Apple 10.15.7-security_update_2021-003 (including) 10.15.7-security_update_2021-003 (including)
Mac_os_x Apple 10.15.7-security_update_2021-004 (including) 10.15.7-security_update_2021-004 (including)
Mac_os_x Apple 10.15.7-security_update_2021-005 (including) 10.15.7-security_update_2021-005 (including)
Mac_os_x Apple 10.15.7-security_update_2021-006 (including) 10.15.7-security_update_2021-006 (including)
Mac_os_x Apple 10.15.7-security_update_2021-007 (including) 10.15.7-security_update_2021-007 (including)
Mac_os_x Apple 10.15.7-security_update_2021-008 (including) 10.15.7-security_update_2021-008 (including)
Mac_os_x Apple 10.15.7-security_update_2022-001 (including) 10.15.7-security_update_2022-001 (including)
Mac_os_x Apple 10.15.7-security_update_2022-002 (including) 10.15.7-security_update_2022-002 (including)
Mac_os_x Apple 10.15.7-security_update_2022-003 (including) 10.15.7-security_update_2022-003 (including)
Macos Apple 11.0 (including) 11.6.6 (excluding)
Macos Apple 12.0 (including) 12.4 (excluding)

Potential Mitigations

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, in Java, if the programmer does not explicitly initialize a variable, then the code could produce a compile-time error (if the variable is local) or automatically initialize the variable to the default value for the variable’s type. In Perl, if explicit initialization is not performed, then a default value of undef is assigned, which is interpreted as 0, false, or an equivalent value depending on the context in which the variable is accessed.

References