CVEvulnerability
CVE-2021-3725
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-11-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-78, CWE-94
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 configurations
• planetargon oh my zsh (< 11-11-2021)
Related
References
- https://github.com/ohmyzsh/ohmyzsh/commit/06fc5fb Patch, Third Party Advisory
- https://github.com/ohmyzsh/ohmyzsh/commit/06fc5fb Patch, Third Party Advisory