CVE-2021-45444
Publication date 14 February 2022
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
zsh | 24.10 oracular |
Not affected
|
24.04 LTS noble |
Not affected
|
|
22.04 LTS jammy |
Needs evaluation
|
|
20.04 LTS focal |
Fixed 5.8-3ubuntu1.1
|
|
18.04 LTS bionic |
Fixed 5.4.2-3ubuntu3.2
|
|
16.04 LTS xenial |
Fixed 5.1.1-1ubuntu2.3+esm1
|
|
14.04 LTS trusty | Ignored end of standard support |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProNotes
rodrigo-zaiden
The commits fdb8b0ce and bdc4d70a are related to a partial commit that can be used in case an user can't update to a patched version that contains c187154f commit.
Patch details
Package | Patch details |
---|---|
zsh |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 · High |
Attack vector | Local |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-5325-1
- Zsh vulnerabilities
- 14 March 2022