CVE-2022-32912 - Out-of-bounds Read

Severity

88%

Complexity

27%

Confidentiality

98%

An out-of-bounds read was addressed with improved bounds checking. This issue is fixed in Safari 16, iOS 16, iOS 15.7 and iPadOS 15.7. Processing maliciously crafted web content may lead to arbitrary code execution.

CVSS 3.1 Base Score 8.8. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

Demo Examples

Out-of-bounds Read

CWE-125

In the following code, the method retrieves a value from an array at a specific array index location that is given as an input parameter to the method


               
}
return value;// check that the array index is less than the maximum// length of the array
value = array[index];// get the value at the specified index of the array
// if array index is invalid then output error message// and return value indicating error
value = -1;

However, this method only verifies that the given array index is less than the maximum length of the array but does not check for the minimum value (CWE-839). This will allow a negative value to be accepted as the input array index, which will result in a out of bounds read (CWE-125) and may allow access to sensitive memory. The input array index should be checked to verify that is within the maximum and minimum range required for the array (CWE-129). In this example the if statement should be modified to include a minimum range check, as shown below.


               
...// check that the array index is within the correct// range of values for the array

Overview

First reported 2 years ago

2022-09-20 21:15:00

Last updated 2 years ago

2022-12-07 03:11:00

Affected Software

Apple Safari

References

https://support.apple.com/en-us/HT213442

https://support.apple.com/en-us/HT213445

https://support.apple.com/en-us/HT213446

https://support.apple.com/en-us/HT213442

Release Notes, Vendor Advisory

https://support.apple.com/en-us/HT213445

Release Notes, Vendor Advisory

https://support.apple.com/en-us/HT213446

Release Notes, Vendor Advisory

20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13

20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13

20221030 APPLE-SA-2022-10-27-11 tvOS 16

20221030 APPLE-SA-2022-10-27-13 watchOS 9

20221030 APPLE-SA-2022-10-27-3 Additional information for APPLE-SA-2022-09-12-1 iOS 16

20221030 APPLE-SA-2022-10-27-14 Additional information for APPLE-SA-2022-09-12-5 Safari 16

20221030 APPLE-SA-2022-10-27-4 Additional information for APPLE-SA-2022-09-12-2 iOS 15.7 and iPadOS 15.7

20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13

Mailing List, Third Party Advisory

20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13

Mailing List, Third Party Advisory

20221030 APPLE-SA-2022-10-27-11 tvOS 16

Mailing List, Third Party Advisory

20221030 APPLE-SA-2022-10-27-13 watchOS 9

Mailing List, Third Party Advisory

20221030 APPLE-SA-2022-10-27-3 Additional information for APPLE-SA-2022-09-12-1 iOS 16

Mailing List, Third Party Advisory

20221030 APPLE-SA-2022-10-27-14 Additional information for APPLE-SA-2022-09-12-5 Safari 16

Mailing List, Third Party Advisory

20221030 APPLE-SA-2022-10-27-4 Additional information for APPLE-SA-2022-09-12-2 iOS 15.7 and iPadOS 15.7

Mailing List, Third Party Advisory

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.