CVE-2020-13143Out-of-bounds Read in Kernel

CWE-125Out-of-bounds Read18 documents9 sources
Severity
6.5MEDIUMNVD
OSV6.4OSV5.9OSV4.1
EPSS
3.3%
top 12.83%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMay 18
Latest updateMay 24

Description

gadget_dev_desc_UDC_store in drivers/usb/gadget/configfs.c in the Linux kernel 3.16 through 5.6.13 relies on kstrdup without considering the possibility of an internal '\0' value, which allows attackers to trigger an out-of-bounds read, aka CID-15753588bcd4.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages4 packages

Debianlinux/linux_kernel< 5.6.14-1+3
Ubuntulinux/linux_kernel< 4.4.0-185.215+2
NVDlinux/linux_kernel3.165.6.13
NVDopensuse/leap15.1, 15.2+1

Also affects: Debian Linux 10.0, 8.0, 9.0, Ubuntu Linux 14.04, 16.04, 18.04, 19.10, 20.04

Patches

🔴Vulnerability Details

8
GHSA
GHSA-q5ch-c53x-9gxj: gadget_dev_desc_UDC_store in drivers/usb/gadget/configfs2022-05-24
OSV
linux, linux-aws, linux-aws-5.3, linux-azure, linux-azure-5.3, linux-gcp, linux-gcp-5.3, linux-gke-5.3, linux-hwe, linux-kvm, linux-oracle, linux-oracle-5.3, linux-raspi2-5.3 vulnerabilities2020-07-06
OSV
linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-gcp, linux-gcp-4.15, linux-gke-4.15, linux-hwe, linux-kvm, linux-oem, linux-oracle, linux-raspi2, linux-snapdragon vulnerabilities2020-07-06
OSV
linux, linux-lts-xenial, linux-aws, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities2020-07-06
OSV
linux, linux-aws, inux-azure, linux-gcp, linux-kvm, linux-oracle, linux-raspi, linux-riscv vulnerabilities2020-07-06

📋Vendor Advisories

7
Ubuntu
Linux kernel vulnerabilities2020-07-06
Ubuntu
Linux kernel vulnerabilities2020-07-06
Ubuntu
Linux kernel vulnerabilities2020-07-06
Ubuntu
Linux kernel vulnerabilities2020-07-06
Microsoft
gadget_dev_desc_UDC_store in drivers/usb/gadget/configfs.c in the Linux kernel 3.16 through 5.6.13 relies on kstrdup without considering the possibility of an internal '\0' value which allows attacker2020-05-12

💬Community

2
Bugzilla
CVE-2020-13143 kernel: usb: gadget: illegal array access in binding with UDC [fedora-all]2020-06-11
Bugzilla
CVE-2020-13143 kernel: usb: gadget: illegal array access in binding with UDC2020-06-11
CVE-2020-13143 — Out-of-bounds Read in Linux Kernel | cvebase