CVE-2021-45444

HIGHCVSS 7.8/10EPSS 1.98%

Last modified

CVE-2021-45444 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 1.98% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
7.8/10

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

EPSS Probability
1.98%

78.0th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersionsUpdate
ZshZsh< 5.8.1
FedoraprojectFedora34
FedoraprojectFedora35
DebianDebian Linux9.0
DebianDebian Linux10.0
DebianDebian Linux11.0
AppleMac Os X>= 10.15, < 10.15.7
AppleMac Os X10.15.7Security Update 2020
AppleMacos>= 11.0, < 11.6.6
AppleMacos>= 12.0.0, < 12.4

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-45444?
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.
How severe is CVE-2021-45444?
CVE-2021-45444 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 1.98% probability of exploitation in the next 30 days.
How do I fix CVE-2021-45444?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-45444?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST