| { | 
 |   "schema_version": "1.3.1", | 
 |   "id": "GO-2024-3313", | 
 |   "modified": "0001-01-01T00:00:00Z", | 
 |   "published": "0001-01-01T00:00:00Z", | 
 |   "aliases": [ | 
 |     "CVE-2024-6219", | 
 |     "GHSA-jpmc-7p9c-4rxf" | 
 |   ], | 
 |   "summary": "Restricted TLS certificate privilege escalation when in PKI mode in github.com/canonical/lxd", | 
 |   "details": "Restricted TLS certificate privilege escalation when in PKI mode in github.com/canonical/lxd", | 
 |   "affected": [ | 
 |     { | 
 |       "package": { | 
 |         "name": "github.com/canonical/lxd", | 
 |         "ecosystem": "Go" | 
 |       }, | 
 |       "ranges": [ | 
 |         { | 
 |           "type": "SEMVER", | 
 |           "events": [ | 
 |             { | 
 |               "introduced": "0" | 
 |             }, | 
 |             { | 
 |               "fixed": "0.0.0-20240403103450-0e7f2b5bf4d2" | 
 |             } | 
 |           ] | 
 |         } | 
 |       ], | 
 |       "ecosystem_specific": { | 
 |         "imports": [ | 
 |           { | 
 |             "path": "github.com/canonical/lxd/lxd/auth", | 
 |             "symbols": [ | 
 |               "fga.CheckPermission", | 
 |               "fga.GetPermissionChecker", | 
 |               "rbac.CheckPermission", | 
 |               "rbac.GetPermissionChecker", | 
 |               "tls.CheckPermission", | 
 |               "tls.GetPermissionChecker", | 
 |               "tls.certificateDetails" | 
 |             ] | 
 |           } | 
 |         ], | 
 |         "custom_ranges": [ | 
 |           { | 
 |             "type": "ECOSYSTEM", | 
 |             "events": [ | 
 |               { | 
 |                 "introduced": "0" | 
 |               }, | 
 |               { | 
 |                 "fixed": "5.21.1" | 
 |               } | 
 |             ] | 
 |           } | 
 |         ] | 
 |       } | 
 |     } | 
 |   ], | 
 |   "references": [ | 
 |     { | 
 |       "type": "ADVISORY", | 
 |       "url": "https://github.com/canonical/lxd/security/advisories/GHSA-jpmc-7p9c-4rxf" | 
 |     }, | 
 |     { | 
 |       "type": "FIX", | 
 |       "url": "https://github.com/canonical/lxd/commit/5cdc9a35b9c51e981b1e70330bde0413ccacc7fd" | 
 |     } | 
 |   ], | 
 |   "credits": [ | 
 |     { | 
 |       "name": "@markylaing" | 
 |     } | 
 |   ], | 
 |   "database_specific": { | 
 |     "url": "https://pkg.go.dev/vuln/GO-2024-3313", | 
 |     "review_status": "REVIEWED" | 
 |   } | 
 | } |