{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2021-45444",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In zsh before 5.8.1, an attacker can achieve code execution if they control a command output inside the prompt, as demonstrated by a %F argument. This occurs because of recursive PROMPT_SUBST expansion."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://zsh.sourceforge.io/releases.html",
                "refsource": "MISC",
                "name": "https://zsh.sourceforge.io/releases.html"
            },
            {
                "refsource": "MISC",
                "name": "https://vuln.ryotak.me/advisories/63",
                "url": "https://vuln.ryotak.me/advisories/63"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-adf0c6d196",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-5078",
                "url": "https://www.debian.org/security/2022/dsa-5078"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20220218 [SECURITY] [DLA 2926-1] zsh security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-0a06987c3c",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213257",
                "url": "https://support.apple.com/kb/HT213257"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213256",
                "url": "https://support.apple.com/kb/HT213256"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213255",
                "url": "https://support.apple.com/kb/HT213255"
            },
            {
                "refsource": "FULLDISC",
                "name": "20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina",
                "url": "http://seclists.org/fulldisclosure/2022/May/33"
            },
            {
                "refsource": "FULLDISC",
                "name": "20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6",
                "url": "http://seclists.org/fulldisclosure/2022/May/35"
            },
            {
                "refsource": "FULLDISC",
                "name": "20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4",
                "url": "http://seclists.org/fulldisclosure/2022/May/38"
            }
        ]
    }
}