CVEfocus › CVE database › CVE-2023-5536

CVE-2023-5536

CVSS 5.0 MediumEPSS 0.3% (higher than 13% of CVEs)Published 2023-12-12Updated 2024-08-02Assigner: canonical

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

2Fix pending
6Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04cloud-initWill 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.04subiquityWill 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.04cloud-initFix pendingUBUNTU-CVE-2023-5536
Ubuntu 20.04subiquityWill 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.04cloud-initFix pendingUBUNTU-CVE-2023-5536
Ubuntu 18.04subiquityWill 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.04cloud-initWill 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.04cloud-initWill 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.

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

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.