Skip to content
pkgseek
Back to CVE search

CVE-2021-45444

high · 7.8

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.

First indexed 2/12/2022View on NVD

Advisory Facts

Markdown

CVE-2021-45444 is rated HIGH (7.8), with 10 indexed affected package builds across 2 distributions.

Severity / Score
HIGH (7.8)
Affected builds
10
Affected distros
2
Distros with fixed_in
Oracle Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2021-45444?locale=en

Distribution-aware status

2
Distributions
10
Package/release records
3
Vendor advisories
6
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

10 affected package/release combinations
zsh
8x86_64
5.5.1-6.el8_1.2Fixed in 5.5.1-9.el8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade zsh
zsh-html
8noarch
5.5.1-6.el8_1.2Fixed in 5.5.1-9.el8
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade zsh-html

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.