ALAS2-2022-1757
Active ModerateALAS2-2022-1757 (medium): zsh
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2021-45444 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2022-1757.html |
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. (CVE-2021-45444)
Solution
Run yum update zsh or yum update --advisory ALAS2-2022-1757 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 5 occurrences-
1zsh
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- zsh-5.8.1-1.amzn2.0.1.aarch64
- zsh-debuginfo-5.8.1-1.amzn2.0.1.aarch64
-
2zsh
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- zsh-5.8.1-1.amzn2.0.1.i686
- zsh-debuginfo-5.8.1-1.amzn2.0.1.i686
-
3zsh
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- zsh-html-5.8.1-1.amzn2.0.1.noarch
-
4zsh
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- zsh-5.8.1-1.amzn2.0.1.src
-
5zsh
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- zsh-5.8.1-1.amzn2.0.1.x86_64
- zsh-debuginfo-5.8.1-1.amzn2.0.1.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2021-45444 https://access.redhat.com/security/cve/CVE-2021-45444
- CVE-2021-45444 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45444
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2022-1757.html | Unknown | f1a13700045beb1ed7857d144756c8989080679867d10c6f0e22b4c3080df6b2 | amazon-alas/1 | 2026-11-16T08:26:43Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2022-1757.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2022-1757.html | Unknown | Unknown | amazon-alas/1 | 2026-11-16T08:26:43Z |