CVE-2019-20044

HIGHCVSS 7.8/10EPSS 0.50%

Last modified

CVE-2019-20044 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh fails to overwrite the saved uid, so the original privileges can be restored by executing MODULE_PATH=/dir/with/module zmodload with a module that calls setuid().. EPSS estimates a 0.50% chance of exploitation in the next 30 days.

Description

In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh fails to overwrite the saved uid, so the original privileges can be restored by executing MODULE_PATH=/dir/with/module zmodload with a module that calls setuid().

Metrics

CVSS 3.1
7.8/10

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

EPSS Probability
0.50%

38.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
ZshZsh< 5.8
FedoraprojectFedora30
FedoraprojectFedora31
DebianDebian Linux8.0
DebianDebian Linux9.0
AppleIpados< 13.5
AppleIphone Os< 13.5
AppleMac Os X< 10.15.5
AppleMac Os X>= 10.13.0, < 10.13.6
AppleMac Os X>= 10.14.0, < 10.14.6
AppleMac Os X>= 10.15, < 10.15.5
AppleMac Os X10.13.6
AppleMac Os X10.14.6
AppleTvos< 13.4.5
AppleWatchos< 6.2.5

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-20044?
In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh fails to overwrite the saved uid, so the original privileges can be restored by executing MODULE_PATH=/dir/with/module zmodload with a module that calls setuid().
How severe is CVE-2019-20044?
CVE-2019-20044 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.50% probability of exploitation in the next 30 days.
How do I fix CVE-2019-20044?
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-2019-20044?

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

Scan your code now

Source: NVD / NIST