RCE in Ohmyzsh Ohmyzsh/ohmyzsh
CVE-2021-3769
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.010 · 62.7th percentile
- Published
- 2021-11-30
# Vulnerability in `pygmalion`, `pygmalion-virtualenv` and `refined` themes **Description**: these themes use `print -P` on user-supplied strings to print them to the terminal. All of them do that on git information, particularly the branch name, so if the branch has a specially-crafted name the vulnerability can be exploited. **Fixed in**: [b3ba9978](https://github.com/ohmyzsh/ohmyzsh/commit/b3ba9978). **Impacted areas**: - `pygmalion` theme. - `pygmalion-virtualenv` theme. - `refined` theme.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.010, 62.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Ohmyzsh Ohmyzsh/ohmyzsh — versions unspecified
- Planetargon Oh My Zsh
Weakness classification (CWE)
References
- github.com/ohmyzsh/ohmyzsh/commit/b3ba9978 (Patch, Third Party Advisory)