{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-7558",
        "ASSIGNER": "security@ubuntu.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-337: Predictable Seed in Pseudo-Random Number Generator (PRNG)",
                        "cweId": "CWE-337"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-340: Generation of Predictable Numbers or Identifiers",
                        "cweId": "CWE-340"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-1391: Use of Weak Credentials",
                        "cweId": "CWE-1391"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Canonical Ltd.",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Juju",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "3.5",
                                            "version_value": "3.5.4"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "3.4",
                                            "version_value": "3.4.6"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "3.3",
                                            "version_value": "3.3.7"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "3.1",
                                            "version_value": "3.1.10"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "2.9",
                                            "version_value": "2.9.51"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4",
                "refsource": "MISC",
                "name": "https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4"
            },
            {
                "url": "https://www.cve.org/CVERecord?id=CVE-2024-7558",
                "refsource": "MISC",
                "name": "https://www.cve.org/CVERecord?id=CVE-2024-7558"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "Harry Pidcock"
        },
        {
            "lang": "en",
            "value": "Harry Pidcock"
        },
        {
            "lang": "en",
            "value": "Mark Esler"
        }
    ],
    "impact": {
        "cvss": [
            {
                "version": "3.1",
                "attackVector": "LOCAL",
                "attackComplexity": "LOW",
                "privilegesRequired": "LOW",
                "userInteraction": "NONE",
                "scope": "CHANGED",
                "confidentialityImpact": "LOW",
                "integrityImpact": "HIGH",
                "availabilityImpact": "HIGH",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:H",
                "baseScore": 8.7,
                "baseSeverity": "HIGH"
            }
        ]
    }
}