{"id":"CVE-2020-13143","state":"PUBLISHED","title":"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, ","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.","publishedAt":"2020-05-18T17:50:53.000Z","updatedAt":"2024-08-04T12:11:19.057Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:46:30.825Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/13xxx/CVE-2020-13143.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-13143","state":"PUBLISHED","datePublished":"2020-05-18T17:50:53.000Z","dateUpdated":"2024-08-04T12:11:19.057Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-05-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15753588bcd4bbffae1cca33c8ced5722477fe1f","tags":["x_refsource_MISC"]},{"url":"https://www.spinics.net/lists/linux-usb/msg194331.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20200608-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html","name":"[debian-lts-announce] 20200609 [SECURITY] [DLA 2241-1] linux security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html","name":"[debian-lts-announce] 20200610 [SECURITY] [DLA 2242-1] linux-4.9 security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html","name":"[debian-lts-announce] 20200610 [SECURITY] [DLA 2241-2] linux security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2020/dsa-4698","name":"DSA-4698","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.debian.org/security/2020/dsa-4699","name":"DSA-4699","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html","name":"openSUSE-SU-2020:0801","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00008.html","name":"openSUSE-SU-2020:0935","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://usn.ubuntu.com/4413-1/","name":"USN-4413-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4411-1/","name":"USN-4411-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4412-1/","name":"USN-4412-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4419-1/","name":"USN-4419-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://usn.ubuntu.com/4414-1/","name":"USN-4414-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d126cf46f829d146dde3e6a8963e095ac6cfcd1c","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-01-04T22:50:50.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-13143","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15753588bcd4bbffae1cca33c8ced5722477fe1f","refsource":"MISC","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15753588bcd4bbffae1cca33c8ced5722477fe1f"},{"name":"https://www.spinics.net/lists/linux-usb/msg194331.html","refsource":"MISC","url":"https://www.spinics.net/lists/linux-usb/msg194331.html"},{"name":"https://security.netapp.com/advisory/ntap-20200608-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20200608-0001/"},{"name":"[debian-lts-announce] 20200609 [SECURITY] [DLA 2241-1] linux security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html"},{"name":"[debian-lts-announce] 20200610 [SECURITY] [DLA 2242-1] linux-4.9 security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html"},{"name":"[debian-lts-announce] 20200610 [SECURITY] [DLA 2241-2] linux security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html"},{"name":"DSA-4698","refsource":"DEBIAN","url":"https://www.debian.org/security/2020/dsa-4698"},{"name":"DSA-4699","refsource":"DEBIAN","url":"https://www.debian.org/security/2020/dsa-4699"},{"name":"openSUSE-SU-2020:0801","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html"},{"name":"openSUSE-SU-2020:0935","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00008.html"},{"name":"USN-4413-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4413-1/"},{"name":"USN-4411-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4411-1/"},{"name":"USN-4412-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4412-1/"},{"name":"USN-4419-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4419-1/"},{"name":"USN-4414-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4414-1/"},{"name":"https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d126cf46f829d146dde3e6a8963e095ac6cfcd1c","refsource":"MISC","url":"https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d126cf46f829d146dde3e6a8963e095ac6cfcd1c"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=15753588bcd4bbffae1cca33c8ced5722477fe1f","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.spinics.net/lists/linux-usb/msg194331.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20200608-0001/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00011.html","name":"[debian-lts-announce] 20200609 [SECURITY] [DLA 2241-1] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00012.html","name":"[debian-lts-announce] 20200610 [SECURITY] [DLA 2242-1] linux-4.9 security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00013.html","name":"[debian-lts-announce] 20200610 [SECURITY] [DLA 2241-2] linux security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.debian.org/security/2020/dsa-4698","name":"DSA-4698","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://www.debian.org/security/2020/dsa-4699","name":"DSA-4699","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00022.html","name":"openSUSE-SU-2020:0801","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00008.html","name":"openSUSE-SU-2020:0935","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://usn.ubuntu.com/4413-1/","name":"USN-4413-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/4411-1/","name":"USN-4411-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/4412-1/","name":"USN-4412-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/4419-1/","name":"USN-4419-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://usn.ubuntu.com/4414-1/","name":"USN-4414-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=d126cf46f829d146dde3e6a8963e095ac6cfcd1c","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T12:11:19.057Z"}}]}}}