Skip to content
OpenAdvisories
High · 7.5 CVE-2021-3725 EUVD-2021-27005GHSA-3jcx-v57w-c6rq

OS Command Injection in ohmyzsh/ohmyzsh

Published Nov 30, 2021 · Updated Aug 3, 2024 · Assigned by @huntrdev

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.

Affected products

VendorProductAffectedFixed
ohmyzsh ohmyzsh/ohmyzsh unspecified – < 06fc5fb 06fc5fb

References