Skip to content
Fencer Intel
medium 6.5

CVE-2020-13143 json

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 th…

published 6y ago modified 4mo ago also EUVD-2020-5419

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.2%
EPSS 5.2% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known

Summary

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.

Patch / fix

  • linux Debian 14, Debian 13, Debian 12 5.6.14-1

debian advisories DEBIAN-CVE-2020-13143

  • linux Ubuntu 16.04 LTS 4.4.0-185.215
  • linux Ubuntu 18.04 LTS 4.15.0-109.110
  • linux Ubuntu 20.04 LTS 5.4.0-40.44
  • linux-aws Ubuntu 16.04 LTS 4.4.0-1110.121
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1077.81
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1018.18
  • linux-gcp Ubuntu 16.04 LTS 4.15.0-1078.88~16.04.1
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1019.19

ubuntu advisories UBUNTU-CVE-2020-13143

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel-rt Real Time Module 15 SP1 4.12.14-14.28.1
  • kernel-syms-rt Real Time Module 15 SP1 4.12.14-14.28.1
  • kernel-rt_debug Real Time Module 15 SP1 4.12.14-14.28.1
  • kernel-source-rt Real Time Module 15 SP1 4.12.14-14.28.1
  • kernel-rt SLE Real Time 12 SP5 4.12.14-10.13.1
  • kernel-syms-rt SLE Real Time 12 SP5 4.12.14-10.13.1
  • kernel-rt_debug SLE Real Time 12 SP5 4.12.14-10.13.1
  • kernel-source-rt SLE Real Time 12 SP5 4.12.14-10.13.1

suse advisories SUSE-SU-2020:2487-1SUSE-SU-2020:2478-1SUSE-SU-2020:2156-1SUSE-SU-2020:2105-1SUSE-SU-2020:2027-1SUSE-SU-2020:1663-1

  • kernel-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
  • kernel-syms-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
  • kernel-rt_debug openSUSE Leap 15.2 5.3.18-lp152.3.5.1
  • kernel-source-rt openSUSE Leap 15.2 5.3.18-lp152.3.5.1
  • kernel-syms openSUSE Leap 15.2 5.3.18-lp152.26.2
  • kernel-obs-qa openSUSE Leap 15.2 5.3.18-lp152.26.2
  • kernel-source openSUSE Leap 15.2 5.3.18-lp152.26.2
  • kernel-default openSUSE Leap 15.2 5.3.18-lp152.26.2

opensuse advisories openSUSE-SU-2021:0242-1openSUSE-SU-2020:0935-1openSUSE-SU-2020:0801-1

Is CVE-2020-13143 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-13143 updated cvss 4.0

kernel: usb: gadget: illegal array access in binding with UDC

  • Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmware
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.19% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.