{"id":"CVE-2024-7558","published":"2024-10-02T10:06:31Z","modified":"2024-10-02T13:59:04Z","title":"JUJU_CONTEXT_ID is a predictable authentication secret","vendor":"Canonical Ltd.","product":"Juju","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00459,"percentile":0.31746,"provenance":"source"},"cwes":[{"id":"CWE-337","name":"Predictable Seed in Pseudo-Random Number Generator (PRNG)"},{"id":"CWE-340","name":"Generation of Predictable Numbers or Identifiers"},{"id":"CWE-1391","name":"Use of Weak Credentials"}],"references":[{"url":"https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4","tags":["issue-tracking"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-7558","tags":["issue-tracking"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":6.35},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"canonical","affectedVersions":[{"vendor":"Canonical Ltd.","product":"Juju","versions":[">= 3.5, < 3.5.4",">= 3.4, < 3.4.6",">= 3.3, < 3.3.7",">= 3.1, < 3.1.10",">= 2.9, < 2.9.51"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-02T13:58:28.823188Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/juju/juju","vulnerableRanges":["<0.0.0-20240826044107-ecd7e2d0e986"],"patched":["0.0.0-20240826044107-ecd7e2d0e986"],"from":["GHSA-mh98-763h-m9v4","GO-2024-3173"],"provenance":"source"}],"summary":{"text":"The flaw is that JUJU_CONTEXT_ID, the authentication secret used by Canonical's Juju, is predictable, which affects Juju machines (non-Kubernetes) and Juju charm containers on Kubernetes. An unprivileged local user in the same network namespace can connect to an abstract domain socket and guess the JUJU_CONTEXT_ID value, gaining the same information and tools available to the Juju charm.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:33Z"},"euvd":{"id":"EUVD-2024-3082","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-canonical-ltd-juju-cve-2024-7558","parents":[{"from":"CVE-2024-8037","to":"CVE-2024-7558","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-8v4w-f4r9-7h6x","via":"reference","url":"https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4"},{"kind":"osv-related","provenance":"source","id":"GO-2024-3174","via":"reference","url":"https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4"},{"kind":"version-step","provenance":"source","package":"Go:github.com/juju/juju","fromFixed":"0.0.0-20240820065804-2f2ec128ef5a","toFixed":"0.0.0-20240826044107-ecd7e2d0e986","daysApart":0},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2017-9232","published":"2017-05-28","fixed":"0.0.0-20170524231039-0417178a3c28","kev":false},{"cve":"CVE-2024-8037","published":"2024-10-02","fixed":"0.0.0-20240820065804-2f2ec128ef5a","kev":false},{"cve":"CVE-2024-7558","published":"2024-10-02","fixed":"0.0.0-20240826044107-ecd7e2d0e986","kev":false},{"cve":"CVE-2024-8038","published":"2024-10-02","fixed":"0.0.0-20240829052008-43f0fc59790d","kev":false,"link":{"from":"CVE-2024-7558","to":"CVE-2024-8038","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/juju/juju","fromFixed":"0.0.0-20240826044107-ecd7e2d0e986","toFixed":"0.0.0-20240829052008-43f0fc59790d","daysApart":0},{"kind":"similar","provenance":"machine","score":0.25,"basis":"same product + description similarity"}]}},{"cve":"CVE-2025-53512","published":"2025-07-08","fixed":"0.0.0-20250619024904-402ff008dcc2","kev":false},{"cve":"CVE-2025-0928","published":"2025-07-08","fixed":"0.0.0-20250619215741-4034aa13c7cf","kev":false}],"package":"Go:github.com/juju/juju"}}