Lucene search

K
amazonAmazonALAS2-2022-1757
HistoryMar 01, 2022 - 5:43 p.m.

Medium: zsh

2022-03-0117:43:00
alas.aws.amazon.com
10

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

7.9 High

AI Score

Confidence

High

5.1 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:H/Au:N/C:P/I:P/A:P

0.001 Low

EPSS

Percentile

37.1%

Issue Overview:

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. (CVE-2021-45444)

Affected Packages:

zsh

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

Issue Correction:
Run yum update zsh to update your system.

New Packages:

aarch64:  
    zsh-5.8.1-1.amzn2.0.1.aarch64  
    zsh-debuginfo-5.8.1-1.amzn2.0.1.aarch64  
  
i686:  
    zsh-5.8.1-1.amzn2.0.1.i686  
    zsh-debuginfo-5.8.1-1.amzn2.0.1.i686  
  
noarch:  
    zsh-html-5.8.1-1.amzn2.0.1.noarch  
  
src:  
    zsh-5.8.1-1.amzn2.0.1.src  
  
x86_64:  
    zsh-5.8.1-1.amzn2.0.1.x86_64  
    zsh-debuginfo-5.8.1-1.amzn2.0.1.x86_64  

Additional References

Red Hat: CVE-2021-45444

Mitre: CVE-2021-45444

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

7.9 High

AI Score

Confidence

High

5.1 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:H/Au:N/C:P/I:P/A:P

0.001 Low

EPSS

Percentile

37.1%