CVE-2021-3725

OS Command Injection in ohmyzsh/ohmyzsh

Published Nov 30, 2021 CVSS 3.1 · 7.5 High EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-27005 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntrdev
Published
Updated
Aug 3, 2024, 5:01 PM
Reserved
Aug 19, 2021, 12:00 AM
Status
Modified
Published
Nov 30, 2021, 10:15 AM
Modified
Jun 17, 2026, 4:05 AM