Description (CNA)
In Canonical LXD versions 4.12 through 6.7, the doCertificateUpdate function in lxd/certificates.go does not validate the Type field when handling PUT/PATCH requests to /1.0/certificates/{fingerprint} for restricted TLS certificate users, allowing a remote authenticated attacker to escalate privileges to cluster admin.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Canonical / lxd | affected 4.12.0 before 5.0.7; affected 5.1.0 before 5.21.5; affected 6.0.0 before 6.8.0 |
CWE
CWE-915
References
- https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5
- https://github.com/canonical/lxd/pull/17936
ADP enrichment
No English description supplied.