{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-0628",
        "assignerOrgId": "686469e6-3ff6-451b-ab8b-cf5b9e89401e",
        "state": "PUBLISHED",
        "assignerShortName": "Docker",
        "dateReserved": "2023-02-01T22:39:05.609Z",
        "datePublished": "2023-03-13T11:16:30.426Z",
        "dateUpdated": "2024-08-02T05:17:50.327Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "modules": [
                        "Dev Environments"
                    ],
                    "platforms": [
                        "Windows",
                        "MacOS",
                        "Linux"
                    ],
                    "product": "Docker Desktop",
                    "vendor": "Docker Inc.",
                    "versions": [
                        {
                            "lessThan": "4.17.0",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "reporter",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "@suanve"
                }
            ],
            "datePublic": "2023-03-13T11:15:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "Docker Desktop before 4.17.0 allows an attacker to execute an arbitrary command inside a Dev Environments container during initialization by tricking a user to open a crafted malicious <tt>docker-desktop://</tt> URL."
                        }
                    ],
                    "value": "Docker Desktop before 4.17.0 allows an attacker to execute an arbitrary command inside a Dev Environments container during initialization by tricking a user to open a crafted malicious docker-desktop:// URL."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-248",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-248 Command Injection"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "NONE",
                        "baseScore": 6.1,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-77",
                            "description": "CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "686469e6-3ff6-451b-ab8b-cf5b9e89401e",
                "shortName": "Docker",
                "dateUpdated": "2023-03-13T12:52:38.039Z"
            },
            "references": [
                {
                    "tags": [
                        "release-notes"
                    ],
                    "url": "https://docs.docker.com/desktop/release-notes/#4170"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Docker Desktop before 4.17.0 allows an attacker to execute an arbitrary command inside a Dev Environments container during initialization by tricking a user to open a crafted malicious docker-desktop:// URL",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T05:17:50.327Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "release-notes",
                            "x_transferred"
                        ],
                        "url": "https://docs.docker.com/desktop/release-notes/#4170"
                    }
                ]
            }
        ]
    }
}