cve.bz

CVE-2020-13143 Out-of-bounds Read

6.5 mediumEPSS 5.2%Fix available

Medium (6.5). EPSS 5.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
5.2% (unchanged from 5.2% a week ago; 5.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-13143 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-13143?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-13143?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-13143 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 3.16 through 5.6.13
opensuse:leap15.1
opensuse:leap15.2
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.10
canonical:ubuntu_linux20.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8linux3.16.84-1DLA-2241-1
Debian8linux-4.94.9.210-1+deb9u1~deb8u1DLA-2242-1
Debian9linux4.9.210-1+deb9u1DSA-4698-1
Debian10linux4.19.118-2+deb10u1DSA-4699-1
Debian12, 13, 14linux5.6.14-1DEBIAN-CVE-2020-13143
Ubuntu16.04:LTSlinux4.4.0-185.215UBUNTU-CVE-2020-13143 USN-4419-1
Ubuntu16.04:LTSlinux-aws4.4.0-1110.121UBUNTU-CVE-2020-13143 USN-4419-1
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1074.78~16.04.1UBUNTU-CVE-2020-13143 USN-4414-1
Ubuntu16.04:LTSlinux-azure4.15.0-1091.101~16.04.1UBUNTU-CVE-2020-13143 USN-4414-1
Ubuntu16.04:LTSlinux-gcp4.15.0-1078.88~16.04.1UBUNTU-CVE-2020-13143 USN-4414-1
Ubuntu16.04:LTSlinux-hwe4.15.0-107.108~16.04.1UBUNTU-CVE-2020-13143 USN-4414-1
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2020-13143
Ubuntu16.04:LTSlinux-kvm4.4.0-1076.83UBUNTU-CVE-2020-13143 USN-4419-1
Ubuntu16.04:LTSlinux-oracle4.15.0-1046.50~16.04.1UBUNTU-CVE-2020-13143 USN-4414-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1135.144UBUNTU-CVE-2020-13143 USN-4419-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1139.147UBUNTU-CVE-2020-13143 USN-4419-1
Ubuntu18.04:LTSlinux4.15.0-109.110UBUNTU-CVE-2020-13143 USN-4414-1
37 more for Ubuntu in the JSON and on Ubuntu's page.
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4, Linux Enterprise Workstation Extension 12 SP4kernel-default4.12.14-95.54.1SUSE-SU-2020:1605-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Workstation Extension 12 SP5kernel-default4.12.14-122.23.1SUSE-SU-2020:1602-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150.52.1SUSE-SU-2020:1663-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1, Linux Enterprise Module for Legacy 15 SP1 and 1 morekernel-default4.12.14-197.45.1SUSE-SU-2020:1599-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2, Linux Enterprise Module for Legacy 15 SP2 and 1 morekernel-default5.3.18-24.9.1SUSE-SU-2020:2105-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server for SAP Applications 15kernel-docs, kernel-syms, kernel-source and 3 more4.12.14-150.52.1SUSE-SU-2020:1663-1
SUSELinux Enterprise Live Patching 12 SP4kgraft-patch-SLE12-SP4_Update_141-6.3.1SUSE-SU-2020:1605-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_51-8.3.1SUSE-SU-2020:1602-1
SUSELinux Enterprise Live Patching 15kernel-livepatch-SLE15_Update_181-1.5.1SUSE-SU-2020:1663-1
SUSELinux Enterprise Live Patching 15 SP1kernel-livepatch-SLE15-SP1_Update_121-3.5.1SUSE-SU-2020:1599-1
SUSELinux Enterprise Live Patching 15 SP2kernel-livepatch-SLE15-SP2_Update_11-5.3.6SUSE-SU-2020:2105-1
SUSELinux Enterprise Module for Basesystem 15 SP1kernel-source, kernel-default, kernel-zfcpdump4.12.14-197.45.1SUSE-SU-2020:1599-1
17 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1kernel-docs4.12.14-lp151.28.52.2openSUSE-SU-2020:0801-1
openSUSELeap 15.1kernel-obs-qa, kernel-obs-build4.12.14-lp151.28.52.3openSUSE-SU-2020:0801-1
openSUSELeap 15.1kernel-syms, kernel-debug, kernel-source and 3 more4.12.14-lp151.28.52.1openSUSE-SU-2020:0801-1
openSUSELeap 15.2kernel-default-base5.3.18-lp152.26.2.lp152.8.2.2openSUSE-SU-2020:0935-1
openSUSELeap 15.2kernel-docs, kernel-syms, kernel-debug and 6 more5.3.18-lp152.26.2openSUSE-SU-2020:0935-1
openSUSELeap 15.2kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more5.3.18-lp152.3.5.1openSUSE-SU-2021:0242-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-13143.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON