{"id":"CVE-2021-3769","published":"2021-11-30T09:30:18Z","modified":"2024-08-03T17:09:08Z","title":"OS Command Injection in ohmyzsh/ohmyzsh","vendor":"ohmyzsh","product":"ohmyzsh/ohmyzsh","tier":"tail","description":{"text":"# 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00971,"percentile":0.62788,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/ohmyzsh/ohmyzsh/commit/b3ba9978","tags":["x_refsource_MISC"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":12.56},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"ohmyzsh","affectedVersions":[{"vendor":"ohmyzsh","product":"ohmyzsh/ohmyzsh","versions":[">= unspecified, < b3ba9978"]}],"euvd":{"id":"EUVD-2021-27038","exploited":false,"provenance":"source"}}