CVE-2021-3725

published 30 Nov 2021 · updated 3 Aug 2024

OS Command Injection in ohmyzsh/ohmyzsh

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 06fc5fb.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ohmyzsh<06fc5fb06fc5fb

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3725 severity on Zeptric[![CVE-2021-3725](https://zeptric.io/badge/cve/CVE-2021-3725.svg)](https://zeptric.io/cve/CVE-2021-3725)