CVE Vulnerabilities

CVE-2021-1857

Improper Initialization

Published: Sep 08, 2021 | Modified: Sep 16, 2021
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu

A memory initialization issue was addressed with improved memory handling. This issue is fixed in iTunes 12.11.3 for Windows, Security Update 2021-002 Catalina, Security Update 2021-003 Mojave, iCloud for Windows 12.3, macOS Big Sur 11.3, watchOS 7.4, tvOS 14.5, iOS 14.5 and iPadOS 14.5. Processing maliciously crafted web content may disclose sensitive user information.

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
Icloud Apple * 12.3 (excluding)
Itunes Apple * 12.11.3 (excluding)
Ipados Apple * 14.5 (excluding)
Iphone_os Apple * 14.5 (excluding)
Mac_os_x Apple 10.14 (including) 10.14 (including)
Mac_os_x Apple 10.14.0 (including) 10.14.0 (including)
Mac_os_x Apple 10.14.1 (including) 10.14.1 (including)
Mac_os_x Apple 10.14.2 (including) 10.14.2 (including)
Mac_os_x Apple 10.14.3 (including) 10.14.3 (including)
Mac_os_x Apple 10.14.4 (including) 10.14.4 (including)
Mac_os_x Apple 10.14.4-beta4 (including) 10.14.4-beta4 (including)
Mac_os_x Apple 10.14.5 (including) 10.14.5 (including)
Mac_os_x Apple 10.14.6 (including) 10.14.6 (including)
Mac_os_x Apple 10.14.6-security_update_2019-001 (including) 10.14.6-security_update_2019-001 (including)
Mac_os_x Apple 10.14.6-security_update_2019-002 (including) 10.14.6-security_update_2019-002 (including)
Mac_os_x Apple 10.14.6-security_update_2019-004 (including) 10.14.6-security_update_2019-004 (including)
Mac_os_x Apple 10.14.6-security_update_2019-005 (including) 10.14.6-security_update_2019-005 (including)
Mac_os_x Apple 10.14.6-security_update_2019-006 (including) 10.14.6-security_update_2019-006 (including)
Mac_os_x Apple 10.14.6-security_update_2019-007 (including) 10.14.6-security_update_2019-007 (including)
Mac_os_x Apple 10.14.6-security_update_2020-001 (including) 10.14.6-security_update_2020-001 (including)
Mac_os_x Apple 10.14.6-security_update_2020-002 (including) 10.14.6-security_update_2020-002 (including)
Mac_os_x Apple 10.14.6-security_update_2020-003 (including) 10.14.6-security_update_2020-003 (including)
Mac_os_x Apple 10.14.6-security_update_2020-004 (including) 10.14.6-security_update_2020-004 (including)
Mac_os_x Apple 10.14.6-security_update_2020-005 (including) 10.14.6-security_update_2020-005 (including)
Mac_os_x Apple 10.14.6-security_update_2020-006 (including) 10.14.6-security_update_2020-006 (including)
Mac_os_x Apple 10.14.6-security_update_2020-007 (including) 10.14.6-security_update_2020-007 (including)
Mac_os_x Apple 10.14.6-security_update_2021-001 (including) 10.14.6-security_update_2021-001 (including)
Mac_os_x Apple 10.14.6-security_update_2021-002 (including) 10.14.6-security_update_2021-002 (including)
Mac_os_x Apple 10.15 (including) 10.15 (including)
Mac_os_x Apple 10.15.1 (including) 10.15.1 (including)
Mac_os_x Apple 10.15.2 (including) 10.15.2 (including)
Mac_os_x Apple 10.15.3 (including) 10.15.3 (including)
Mac_os_x Apple 10.15.4 (including) 10.15.4 (including)
Mac_os_x Apple 10.15.5 (including) 10.15.5 (including)
Mac_os_x Apple 10.15.6 (including) 10.15.6 (including)
Mac_os_x Apple 10.15.6-supplemental_update (including) 10.15.6-supplemental_update (including)
Mac_os_x Apple 10.15.7 (including) 10.15.7 (including)
Mac_os_x Apple 10.15.7-security_update_2020 (including) 10.15.7-security_update_2020 (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_2020-005 (including) 10.15.7-security_update_2020-005 (including)
Mac_os_x Apple 10.15.7-security_update_2020-007 (including) 10.15.7-security_update_2020-007 (including)
Mac_os_x Apple 10.15.7-security_update_2021-001 (including) 10.15.7-security_update_2021-001 (including)
Macos Apple 11.0 (including) 11.3 (excluding)
Tvos Apple * 14.5 (excluding)
Watchos Apple * 7.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