{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2022-05-17T06:08:11",
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://zsh.sourceforge.io/releases.html"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://vuln.ryotak.me/advisories/63"
                },
                {
                    "name": "FEDORA-2022-adf0c6d196",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/"
                },
                {
                    "name": "DSA-5078",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_DEBIAN"
                    ],
                    "url": "https://www.debian.org/security/2022/dsa-5078"
                },
                {
                    "name": "[debian-lts-announce] 20220218 [SECURITY] [DLA 2926-1] zsh security update",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html"
                },
                {
                    "name": "FEDORA-2022-0a06987c3c",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://support.apple.com/kb/HT213257"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://support.apple.com/kb/HT213256"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://support.apple.com/kb/HT213255"
                },
                {
                    "name": "20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina",
                    "tags": [
                        "mailing-list",
                        "x_refsource_FULLDISC"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2022/May/33"
                },
                {
                    "name": "20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6",
                    "tags": [
                        "mailing-list",
                        "x_refsource_FULLDISC"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2022/May/35"
                },
                {
                    "name": "20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4",
                    "tags": [
                        "mailing-list",
                        "x_refsource_FULLDISC"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2022/May/38"
                }
            ],
            "x_legacyV4Record": {
                "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": [
                        {
                            "name": "https://zsh.sourceforge.io/releases.html",
                            "refsource": "MISC",
                            "url": "https://zsh.sourceforge.io/releases.html"
                        },
                        {
                            "name": "https://vuln.ryotak.me/advisories/63",
                            "refsource": "MISC",
                            "url": "https://vuln.ryotak.me/advisories/63"
                        },
                        {
                            "name": "FEDORA-2022-adf0c6d196",
                            "refsource": "FEDORA",
                            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/"
                        },
                        {
                            "name": "DSA-5078",
                            "refsource": "DEBIAN",
                            "url": "https://www.debian.org/security/2022/dsa-5078"
                        },
                        {
                            "name": "[debian-lts-announce] 20220218 [SECURITY] [DLA 2926-1] zsh security update",
                            "refsource": "MLIST",
                            "url": "https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html"
                        },
                        {
                            "name": "FEDORA-2022-0a06987c3c",
                            "refsource": "FEDORA",
                            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/"
                        },
                        {
                            "name": "https://support.apple.com/kb/HT213257",
                            "refsource": "CONFIRM",
                            "url": "https://support.apple.com/kb/HT213257"
                        },
                        {
                            "name": "https://support.apple.com/kb/HT213256",
                            "refsource": "CONFIRM",
                            "url": "https://support.apple.com/kb/HT213256"
                        },
                        {
                            "name": "https://support.apple.com/kb/HT213255",
                            "refsource": "CONFIRM",
                            "url": "https://support.apple.com/kb/HT213255"
                        },
                        {
                            "name": "20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina",
                            "refsource": "FULLDISC",
                            "url": "http://seclists.org/fulldisclosure/2022/May/33"
                        },
                        {
                            "name": "20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6",
                            "refsource": "FULLDISC",
                            "url": "http://seclists.org/fulldisclosure/2022/May/35"
                        },
                        {
                            "name": "20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4",
                            "refsource": "FULLDISC",
                            "url": "http://seclists.org/fulldisclosure/2022/May/38"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T04:39:20.752Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://zsh.sourceforge.io/releases.html"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://vuln.ryotak.me/advisories/63"
                    },
                    {
                        "name": "FEDORA-2022-adf0c6d196",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/"
                    },
                    {
                        "name": "DSA-5078",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_DEBIAN",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2022/dsa-5078"
                    },
                    {
                        "name": "[debian-lts-announce] 20220218 [SECURITY] [DLA 2926-1] zsh security update",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html"
                    },
                    {
                        "name": "FEDORA-2022-0a06987c3c",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://support.apple.com/kb/HT213257"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://support.apple.com/kb/HT213256"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://support.apple.com/kb/HT213255"
                    },
                    {
                        "name": "20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina",
                        "tags": [
                            "mailing-list",
                            "x_refsource_FULLDISC",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2022/May/33"
                    },
                    {
                        "name": "20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6",
                        "tags": [
                            "mailing-list",
                            "x_refsource_FULLDISC",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2022/May/35"
                    },
                    {
                        "name": "20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4",
                        "tags": [
                            "mailing-list",
                            "x_refsource_FULLDISC",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2022/May/38"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2021-45444",
        "datePublished": "2022-02-13T05:32:21",
        "dateReserved": "2021-12-21T00:00:00",
        "dateUpdated": "2024-08-04T04:39:20.752Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}