CVE-2020-13143
Vulnerability Summary
Timeline
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 Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 4.3AV:N/AC:M/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 5.19%• Percentile: 92%
Techniques & Countermeasures
- CWE-125•Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
Affected Systems
- canonical•ubuntu_linux
14.04 | 16.04 | 18.04 | 19.10 | 20.04
- debian•linux
< 5.6.14-1 | < 5.6.14-1 | < 5.6.14-1 | < 5.6.14-1
- ubuntu•linux
all | < 4.4.0-185.215 | < 4.15.0-109.110 | < 5.4.0-40.44
- ubuntu•linux-aws
< 4.4.0-1074.78 | < 4.4.0-1110.121 | < 4.15.0-1077.81 | < 5.4.0-1018.18
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.3
< 5.3.0-1030.32~18.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2022.22 | all
- ubuntu•linux-aws-hwe
< 4.15.0-1074.78~16.04.1
- ubuntu•linux-azure
< 4.15.0-1091.101~14.04.1 | < 4.15.0-1091.101~16.04.1 | all | < 5.4.0-1020.20
- ubuntu•linux-azure-4.15
< 4.15.0-1091.101
- ubuntu•linux-azure-5.3
< 5.3.0-1032.33~18.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all
- ubuntu•linux-azure-fips
< 4.15.0-2006.7 | all
- ubuntu•linux-bluefield
all
- ubuntu•linux-fips
< 4.4.0-1042.47 | all | < 4.15.0-1035.40
- ubuntu•linux-gcp
< 4.15.0-1078.88~16.04.1 | all | < 5.4.0-1019.19
- ubuntu•linux-gcp-4.15
< 4.15.0-1078.88
- ubuntu•linux-gcp-5.3
< 5.3.0-1030.32~18.04.1
- ubuntu•linux-gcp-edge
all
- ubuntu•linux-gcp-fips
all
- ubuntu•linux-gke
all
- ubuntu•linux-gke-4.15
< 4.15.0-1064.67
- ubuntu•linux-gke-5.0
< 5.0.0-1043.44
- ubuntu•linux-gke-5.3
< 5.3.0-1030.32~18.04.1
- ubuntu•linux-hwe
< 4.15.0-107.108~16.04.1 | < 5.3.0-62.56~18.04.1
- ubuntu•linux-hwe-5.4
< 5.4.0-40.44~18.04.1
- ubuntu•linux-hwe-edge
all | all
- ubuntu•linux-intel-iot-realtime
all
- ubuntu•linux-kvm
< 4.4.0-1076.83 | < 4.15.0-1069.70 | < 5.4.0-1018.18
- ubuntu•linux-lts-xenial
< 4.4.0-185.215~14.04.1
- ubuntu•linux-oem
< 4.15.0-1091.101
- ubuntu•linux-oem-5.6
< 5.6.0-1011.11
- ubuntu•linux-oem-osp1
< 5.0.0-1063.68
- ubuntu•linux-oracle
< 4.15.0-1046.50~16.04.1 | < 4.15.0-1048.52 | < 5.4.0-1019.19
- ubuntu•linux-oracle-5.0
all
- ubuntu•linux-oracle-5.3
< 5.3.0-1028.30~18.04.1
- ubuntu•linux-raspi
< 5.4.0-1013.13
- ubuntu•linux-raspi-realtime
all
- ubuntu•linux-raspi2
< 4.4.0-1135.144 | < 4.15.0-1065.69 | all
- ubuntu•linux-raspi2-5.3
< 5.3.0-1028.30~18.04.2
- ubuntu•linux-realtime
all
- ubuntu•linux-riscv
< 5.4.0-28.32 | all
- ubuntu•linux-snapdragon
< 4.4.0-1139.147 | < 4.15.0-1081.88
- debian•debian_linux
8.0 | 9.0 | 10.0
- linux•linux_kernel
≥ 3.16, ≤ 5.6.13
- netapp•a700s_firmware
na
- netapp•active_iq_unified_manager
na
- netapp•bootstrap_os
na
- netapp•cloud_backup
na
Showing first 50 affected entries in server-rendered view.
References (25)
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15753588bcd4bbffae1cca33c8ced5722477fe1f
- https://www.spinics.net/lists/linux-usb/msg194331.html
- https://security.netapp.com/advisory/ntap-20200608-0001/
- https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html
- https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html
- https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html
- https://www.debian.org/security/2020/dsa-4698
- https://www.debian.org/security/2020/dsa-4699
- http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00008.html
- https://usn.ubuntu.com/4413-1/
- https://usn.ubuntu.com/4411-1/
- https://usn.ubuntu.com/4412-1/
- https://usn.ubuntu.com/4419-1/
- https://usn.ubuntu.com/4414-1/
- https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d126cf46f829d146dde3e6a8963e095ac6cfcd1c
- https://ubuntu.com/security/CVE-2020-13143
- https://git.kernel.org/linus/15753588bcd4bbffae1cca33c8ced5722477fe1f
- https://ubuntu.com/security/notices/USN-4411-1
- https://ubuntu.com/security/notices/USN-4412-1
- https://ubuntu.com/security/notices/USN-4413-1
- https://ubuntu.com/security/notices/USN-4414-1
- https://ubuntu.com/security/notices/USN-4419-1
- https://www.cve.org/CVERecord?id=CVE-2020-13143
- https://security-tracker.debian.org/tracker/CVE-2020-13143