CVE-2020-13143

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.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
CVSS 2.0 •
EPSS 1.74% Top 20%
Vendor Advisory debian.org Vendor Advisory debian.org Vendor Advisory opensuse.org Vendor Advisory opensuse.org Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com Vendor Advisory ubuntu.com Vendor Advisory kernel.org Vendor Advisory kernel.org
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15753588bcd4bbffae1cca33c8ced5722477fe1f patch vendor advisory
https://www.spinics.net/lists/linux-usb/msg194331.html third party advisory
https://security.netapp.com/advisory/ntap-20200608-0001/ third party advisory
https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html third party advisory mailing list
https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html third party advisory mailing list
https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html third party advisory mailing list
https://www.debian.org/security/2020/dsa-4698 third party advisory vendor advisory
https://www.debian.org/security/2020/dsa-4699 third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html mailing list third party advisory vendor advisory
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00008.html mailing list third party advisory vendor advisory
https://usn.ubuntu.com/4413-1/ third party advisory vendor advisory
https://usn.ubuntu.com/4411-1/ third party advisory vendor advisory
https://usn.ubuntu.com/4412-1/ third party advisory vendor advisory
https://usn.ubuntu.com/4419-1/ third party advisory vendor advisory
https://usn.ubuntu.com/4414-1/ third party advisory vendor advisory
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d126cf46f829d146dde3e6a8963e095ac6cfcd1c mailing list patch vendor advisory

Frequently Asked Questions

What is the severity of CVE-2020-13143?
CVE-2020-13143 has been scored as a medium severity vulnerability.
How to fix CVE-2020-13143?
To fix CVE-2020-13143, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2020-13143 being actively exploited in the wild?
It is possible that CVE-2020-13143 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~2% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.