zsh up to 5.8.0 PROMPT_SUBST Expansion privilege escalation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in zsh up to 5.8.0. It has been classified as critical. This impacts an unknown function of the component PROMPT_SUBST Expansion Handler. The manipulation leads to an unknown weakness. This vulnerability is uniquely identified as CVE-2021-45444. The attack is possible to be carried out remotely. No exploit exists. Upgrading the affected component is recommended.
Details
A vulnerability was found in zsh up to 5.8.0 and classified as critical. This issue affects an unknown code block of the component PROMPT_SUBST Expansion Handler. Impacted is confidentiality, integrity, and availability.
The weakness was disclosed 02/14/2022. The advisory is shared at vuln.ryotak.me. The identification of this vulnerability is CVE-2021-45444 since 12/21/2021. Neither technical details nor an exploit are publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 239959 (TencentOS Server 3: zsh (TSSA-2022:0225)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 5.8.1 eliminates this vulnerability. The upgrade is hosted for download at zsh.sourceforge.io.
The vulnerability is also documented in the vulnerability database at Tenable (239959). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Privilege escalationCWE: Unknown
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 239959
Nessus Name: TencentOS Server 3: zsh (TSSA-2022:0225)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: zsh 5.8.1
Timeline
12/21/2021 🔍02/14/2022 🔍
02/14/2022 🔍
06/17/2025 🔍
Sources
Advisory: FEDORA-2022-adf0c6d196Status: Confirmed
CVE: CVE-2021-45444 (🔍)
GCVE (CVE): GCVE-0-2021-45444
GCVE (VulDB): GCVE-100-193037
Entry
Created: 02/14/2022 18:35Updated: 06/17/2025 20:34
Changes: 02/14/2022 18:35 (37), 02/17/2022 15:06 (2), 06/17/2025 20:34 (17)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.