{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-7558","id":"CVE-2024-7558","title":"JUJU_CONTEXT_ID is a predictable authentication secret","description":"JUJU_CONTEXT_ID is a predictable authentication secret. On a Juju machine (non-Kubernetes) or Juju charm container (on Kubernetes), an unprivileged user in the same network namespace can connect to an abstract domain socket and guess the JUJU_CONTEXT_ID value. This gives the unprivileged user access to the same information and tools as the Juju charm.","descriptionLong":"JUJU_CONTEXT_ID is a predictable authentication secret. On a Juju machine (non-Kubernetes) or Juju charm container (on Kubernetes), an unprivileged user in the same network namespace can connect to an abstract domain socket and guess the JUJU_CONTEXT_ID value. This gives the unprivileged user access to the same information and tools as the Juju charm.","published":"2024-10-02T10:06:31.098Z","updated":"2026-10-28T02:30:22.392191781Z","reserved":"2024-08-06T13:45:13.579Z","status":"Analyzed","rejected":false,"assigner":"canonical","metric":{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H","rating":"high","source":"canonical"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:H/SA:H","rating":"high","source":"GitHub"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H","rating":"high","source":"canonical"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H","rating":"high","source":"ubuntu.com"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Canonical Ltd. Juju"],"affectedProducts":[{"vendor":"Canonical Ltd.","product":"Juju","defaultStatus":null,"versions":[{"status":"affected","version":"3.5","lessThan":"3.5.4","versionType":"semver"},{"status":"affected","version":"3.4","lessThan":"3.4.6","versionType":"semver"},{"status":"affected","version":"3.3","lessThan":"3.3.7","versionType":"semver"},{"status":"affected","version":"3.1","lessThan":"3.1.10","versionType":"semver"},{"status":"affected","version":"2.9","lessThan":"2.9.51","versionType":"semver"}],"platforms":["Linux"]}],"packages":[{"ecosystem":"Go","name":"github.com/juju/juju","purl":"pkg:golang/github.com/juju/juju","ranges":["<0.0.0-20240826044107-ecd7e2d0e986"],"fixed":["0.0.0-20240826044107-ecd7e2d0e986"],"advisory":"GHSA-mh98-763h-m9v4"}],"cwes":["CWE-337","CWE-340","CWE-1391","CWE-330","CWE-335"],"aliases":["GHSA-mh98-763h-m9v4","GO-2024-3173"],"references":[{"url":"https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4","tags":["issue-tracking","Exploit","Patch","Vendor Advisory","report","web","advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-7558","tags":["issue-tracking","Third Party Advisory","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7558.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7558","tags":["advisory"]},{"url":"https://github.com/juju/juju","tags":["package"]},{"url":"https://github.com/juju/juju/commit/ecd7e2d0e9867576b9da04871e22232f06fa0cc7","tags":["web","fix"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3173","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00502,"epssPercentile":0.43749,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-7558","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7558","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-7558","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mh98-763h-m9v4","ok":true,"note":"GHSA-mh98-763h-m9v4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-7558","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}