CVE-2021-45444
Public on 2022-02-14
        Modified on 2022-10-25
        
      Description
            
              A vulnerability was found in zsh in the parsecolorchar() function of prompt.c file. This flaw allows an attacker to perform code execution if they control a command output inside the prompt, as stated by a %F%K argument. This occurs because of recursive PROMPT_SUBST expansion.
            
          Severity
          
          See what this means
        CVSS v3 Base Score
          
          See breakdown
        Affected Packages
| Platform | Package | Release Date | Advisory | Status | 
|---|---|---|---|---|
| Amazon Linux 2 - Core | zsh | 2022-03-08 | ALAS2-2022-1757 | Fixed | 
| Amazon Linux 2023 | zsh | 2023-03-22 | ALAS2023-2023-035 | Fixed | 
CVSS Scores
| Score Type | Score | Vector | |
|---|---|---|---|
| Amazon Linux | CVSSv3 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | 
| NVD | CVSSv2 | 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P | 
| NVD | CVSSv3 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |