CVE-2023-5536
A feature in LXD (LP#1829071), affects the default configuration of Ubuntu Server which allows privileged users in the lxd group to escalate their privilege to root without requiring a sudo password.
What to do
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 22.04 | cloud-init | Will not fix Ubuntu Server installed with subiquity before 23.04 is affected Ubuntu Server installed with cloud-init before 24.04 is affected Ubuntu Desktop is not… | UBUNTU-CVE-2023-5536 | |
| Ubuntu 22.04 | subiquity | Will not fix Ubuntu Server installed with subiquity before 23.04 is affected Ubuntu Server installed with cloud-init before 24.04 is affected Ubuntu Desktop is not… | UBUNTU-CVE-2023-5536 | |
| Ubuntu 20.04 | cloud-init | Fix pending | UBUNTU-CVE-2023-5536 | |
| Ubuntu 20.04 | subiquity | Will not fix Ubuntu Server installed with subiquity before 23.04 is affected Ubuntu Server installed with cloud-init before 24.04 is affected Ubuntu Desktop is not… | UBUNTU-CVE-2023-5536 | |
| Ubuntu 18.04 | cloud-init | Fix pending | UBUNTU-CVE-2023-5536 | |
| Ubuntu 18.04 | subiquity | Will not fix Ubuntu Server installed with subiquity before 23.04 is affected Ubuntu Server installed with cloud-init before 24.04 is affected Ubuntu Desktop is not… | UBUNTU-CVE-2023-5536 | |
| Ubuntu 16.04 | cloud-init | Will not fix Ubuntu Server installed with subiquity before 23.04 is affected Ubuntu Server installed with cloud-init before 24.04 is affected Ubuntu Desktop is not… | UBUNTU-CVE-2023-5536 | |
| Ubuntu 14.04 | cloud-init | Will not fix Ubuntu Server installed with subiquity before 23.04 is affected Ubuntu Server installed with cloud-init before 24.04 is affected Ubuntu Desktop is not… |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Canonical Ubuntu Server
Workaround: Remove users from lxd group and configure multi-user LXD mode. https://discourse.ubuntu.com/t/easy-multi-user-lxd-setup/26215/4
Vendor advisories:
References
- https://discourse.ubuntu.com/t/easy-multi-user-lxd-setup/26215/4
- https://ubuntu.com/security/CVE-2023-5536
- https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1829071
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5536
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.