Skip to content

CVE-2021-3725 OS Command Injection in ohmyzsh/ohmyzsh

HighCVSS 8.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

Description

Vulnerability in dirhistory plugin Description: the widgets that go back and forward in the directory history, triggered by pressing Alt-Left and Alt-Right, use functions that unsafely execute eval on directory names. If you cd into a directory with a carefully-crafted name, then press Alt-Left, the system is subject to command injection. Impacted areas: - Functions pop_past and pop_future in dirhistory plugin.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
ohmyzsh/ohmyzsh < 06fc5fb 06fc5fb Fixed
planetargon oh my zsh < 11-11-2021 11-11-2021 Fixed

Affected products

ProductAffected versionsFixed in
planetargon oh my zsh < 11-11-2021 11-11-2021
ohmyzsh/ohmyzsh < 06fc5fb 06fc5fb

References