{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-1786",
        "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "state": "PUBLISHED",
        "assignerShortName": "canonical",
        "dateReserved": "2023-03-31T20:40:07.757Z",
        "datePublished": "2023-04-26T22:23:47.305Z",
        "dateUpdated": "2024-08-02T05:57:25.074Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "collectionURL": "https://github.com/canonical/cloud-init/releases",
                    "packageName": "cloud-init",
                    "platforms": [
                        "Linux"
                    ],
                    "product": "cloud-init",
                    "repo": "https://github.com/canonical/cloud-init/",
                    "vendor": "Canonical Ltd.",
                    "versions": [
                        {
                            "lessThan": "23.1.2",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "James Golovich"
                }
            ],
            "datePublic": "2023-04-26T00:00:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Sensitive data could be exposed in logs of cloud-init before version 23.1.2. An attacker could use this information to find hashed passwords and possibly escalate their privilege."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "NONE",
                        "baseSeverity": "MEDIUM",
                        "baseScore": 5.5,
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                    },
                    "format": "CVSS"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-532",
                            "description": "CWE-532",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/canonical/cloud-init/commit/a378b7e4f47375458651c0972e7cd813f6fe0a6b"
                },
                {
                    "url": "https://bugs.launchpad.net/cloud-init/+bug/2013967",
                    "tags": [
                        "issue-tracking"
                    ]
                },
                {
                    "url": "https://ubuntu.com/security/notices/USN-6042-1",
                    "tags": [
                        "vendor-advisory"
                    ]
                },
                {
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ATBJSXPL2IOAD2LDQRKWPLIC7QXS44GZ/"
                }
            ],
            "title": "sensitive data exposure in cloud-init logs",
            "providerMetadata": {
                "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
                "shortName": "canonical",
                "dateUpdated": "2023-04-26T22:23:47.305Z"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T05:57:25.074Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "patch",
                            "x_transferred"
                        ],
                        "url": "https://github.com/canonical/cloud-init/commit/a378b7e4f47375458651c0972e7cd813f6fe0a6b"
                    },
                    {
                        "url": "https://bugs.launchpad.net/cloud-init/+bug/2013967",
                        "tags": [
                            "issue-tracking",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://ubuntu.com/security/notices/USN-6042-1",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ATBJSXPL2IOAD2LDQRKWPLIC7QXS44GZ/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}