CVE-2021-3725 HIGH

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

Vendor Ohmyzsh
Product ohmyzsh/ohmyzsh
Weakness CWE-78
Published November 30, 2021
Last update August 3, 2024

CVSS base score

7.5/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 30, 2021 CVE published
August 3, 2024 Record updated