CVE-2020-13776
systemd through v245 mishandles numerical usernames such as ones composed of decimal digits or 0x followed by hex digits, as demonstrated by use of root privileges when privileges of the 0x0 user account were intended. NOTE: this issue exists because of an incomplete fix for CVE-2017-1000082.
What to do
Fixed builds are available from Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | systemd | Fix pending | UBUNTU-CVE-2020-13776 | |
| Ubuntu 18.04 | systemd | Fix pending | UBUNTU-CVE-2020-13776 | |
| Ubuntu 16.04 | systemd | Will not fix The administrator would have to create a systemd service unit with a numerical username or a username starting with 0x as a User= value, and that particular… | UBUNTU-CVE-2020-13776 | |
| Ubuntu 14.04 | systemd | Fix pending | UBUNTU-CVE-2020-13776 | |
| Debian 14 | systemd | Fixed | 246-2 | DEBIAN-CVE-2020-13776 |
| Debian 13 | systemd | Fixed | 246-2 | DEBIAN-CVE-2020-13776 |
| Debian 12 | systemd | Fixed | 246-2 | DEBIAN-CVE-2020-13776 |
| Red Hat Enterprise Linux 8 | systemd | Fixed | 0:239-45.el8 | RHSA-2021:1611 |
| Red Hat Enterprise Linux 8 | systemd-container | Fixed | 0:239-45.el8 | RHSA-2021:1611 |
| Red Hat Enterprise Linux 8 | systemd-devel | Fixed | 0:239-45.el8 | RHSA-2021:1611 |
| Red Hat Enterprise Linux 8 | systemd-journal-remote | Fixed | 0:239-45.el8 | RHSA-2021:1611 |
| Red Hat Enterprise Linux 8 | systemd-libs | Fixed | 0:239-45.el8 | RHSA-2021:1611 |
| Red Hat Enterprise Linux 8 | systemd-pam | Fixed | 0:239-45.el8 | RHSA-2021:1611 |
| Red Hat Enterprise Linux 8 | systemd-tests | Fixed | 0:239-45.el8 | RHSA-2021:1611 |
| Red Hat Enterprise Linux 8 | systemd-udev | Fixed | 0:239-45.el8 | RHSA-2021:1611 |
| Red Hat Enterprise Linux 7 | libgudev1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | libgudev1-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | systemd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | systemd-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | systemd-journal-gateway | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | systemd-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | systemd-networkd | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | systemd-python | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | systemd-resolved | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | systemd-sysv | Will not fix Will not fix | ||
| Rocky Linux 8 | systemd | Fixed | 0:239-45.el8 | RLSA-2021:1611 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://github.com/systemd/systemd/issues/15985
- https://security.netapp.com/advisory/ntap-20200611-0003/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IYGLFEKG45EYBJ7TPQMLWROWPTZBEU63/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.