CVE-2020-13143: Medium severity Linux Linux kernel vulnerability
gadgetdevdescUDCstore 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.180-1Fixed in 6.12.94-1Fixed in 6.12.107-1Fixed in 7.1.12-1Fixed in 7.1.13-1 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 5.6.13 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch CID-15753588bcd4 - Compensating control
If upgrading is not immediately possible, mitigate exposure by limiting access to USB gadget functionality (e.g., disable USB gadget/configfs-based gadget features) so the vulnerable gadget_dev_desc_UDC_store path cannot be triggered.
Event History
Frequently Asked Questions
What is the severity of CVE-2020-13143?
CVE-2020-13143 has a medium severity rating as it allows for out-of-bounds reads in the Linux kernel.
How do I fix CVE-2020-13143?
To fix CVE-2020-13143, upgrade to a patched version of the Linux kernel such as 5.10.223-1 or higher.
Which Linux kernel versions are affected by CVE-2020-13143?
CVE-2020-13143 affects Linux kernel versions 3.16 through 5.6.13.
Can CVE-2020-13143 be exploited remotely?
Yes, CVE-2020-13143 can potentially be exploited remotely by an attacker through crafted USB gadget configurations.
What impact does CVE-2020-13143 have on the system?
CVE-2020-13143 can lead to a system crash or potential data leakage due to out-of-bounds reads.