CVE-2021-3725
published high CVSS 3.1 · 7.5OS Command Injection in ohmyzsh/ohmyzsh
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ohmyzsh | — | ohmyzsh/ohmyzshunspecified to < 06fc5fb | Affected | Not stated | @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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- @huntrdev · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ohmyzsh | ohmyzsh/ohmyzsh | unspecified to < 06fc5fb (affected · custom) | @huntrdev · cna |
Weaknesses
1- CWE-78 CWE-78 OS Command Injection
References
1Provider assertions
2@huntrdev · cna
OS Command Injection in ohmyzsh/ohmyzsh
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8188218f383fe37892d552f7d7679994515df2e04c8a02a6f3965b6d55adac74
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record