CVE-2021-3769CWE-78

OS Command Injection in ohmyzsh/ohmyzsh

High · published November 30, 2021

CVSS v3.1
7.5
EPSS
1%
Percentile
61.5
In the wild
Unconfirmed
What it is

# 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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00971 · 61.5th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2021-11-30T09:30Z
EPSS history
Timeline
  • 30 NOV 09:30Z
    OS Command Injection in ohmyzsh/ohmyzsh
    cvelistv5