CVE-2023-1380 - Out-of-bounds Read

Severity

71%

Complexity

18%

Confidentiality

86%

A slab-out-of-bound read problem was found in brcmf_get_assoc_ies in drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c in the Linux Kernel. This issue could occur when assoc_info->req_len data is bigger than the size of the buffer, defined as WL_EXTRA_BUF_MAX, leading to a denial of service.

CVSS 3.1 Base Score 7.1. CVSS Attack Vector: local. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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

Type

Linux

First reported 1 year ago

2023-03-27 21:15:00

Last updated 1 year ago

2023-12-08 20:45:00

Affected Software

Linux Kernel

Red Hat Enterprise Linux 8.0

8.0

Canonical Ubuntu Linux 18.04 LTS Edition

18.04

Canonical Ubuntu Linux 14.04 ESM Edition

14.04

Canonical Ubuntu Linux 20.04 LTS Edition

20.04

Canonical Ubuntu Linux 16.04 ESM Edition

16.04

References

https://www.openwall.com/lists/oss-security/2023/03/14/1

https://bugzilla.redhat.com/show_bug.cgi?id=2177883

https://lore.kernel.org/linux-wireless/[email protected]/T/#u

https://www.openwall.com/lists/oss-security/2023/03/14/1

Mailing List, Third Party Advisory

https://bugzilla.redhat.com/show_bug.cgi?id=2177883

Issue Tracking, Mitigation, Patch, Third Party Advisory

https://lore.kernel.org/linux-wireless/[email protected]/T/#u

Mailing List, Patch

https://security.netapp.com/advisory/ntap-20230511-0001/

http://packetstormsecurity.com/files/173087/Kernel-Live-Patch-Security-Notice-LSN-0095-1.html

https://security.netapp.com/advisory/ntap-20230511-0001/

Third Party Advisory

http://packetstormsecurity.com/files/173087/Kernel-Live-Patch-Security-Notice-LSN-0095-1.html

Third Party Advisory, VDB Entry

http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html

[debian-lts-announce] 20230727 [SECURITY] [DLA 3508-1] linux security update

DSA-5480

[debian-lts-announce] 20231019 [SECURITY] [DLA 3623-1] linux-5.10 security update

https://lore.kernel.org/linux-wireless/20230309104457.22628-1-jisoo.jang%40yonsei.ac.kr/T/#u

http://packetstormsecurity.com/files/173757/Kernel-Live-Patch-Security-Notice-LSN-0096-1.html

Third Party Advisory, VDB Entry

[debian-lts-announce] 20230727 [SECURITY] [DLA 3508-1] linux security update

Mailing List, Third Party Advisory

DSA-5480

Third Party Advisory

[debian-lts-announce] 20231019 [SECURITY] [DLA 3623-1] linux-5.10 security update

Mailing List, Third Party Advisory

https://lore.kernel.org/linux-wireless/20230309104457.22628-1-jisoo.jang%40yonsei.ac.kr/T/#u

Patch

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.