{"id":"CVE-2021-3726","published":"2021-11-30T09:30:15Z","modified":"2024-08-03T17:01:08Z","title":"OS Command Injection in ohmyzsh/ohmyzsh","vendor":"ohmyzsh","product":"ohmyzsh/ohmyzsh","tier":"tail","description":{"text":"# Vulnerability in `title` function **Description**: the `title` function defined in `lib/termsupport.zsh` uses `print` to set the terminal title to a user-supplied string. In Oh My Zsh, this function is always used securely, but custom user code could use the `title` function in a way that is unsafe. **Fixed in**: [a263cdac](https://github.com/ohmyzsh/ohmyzsh/commit/a263cdac). **Impacted areas**: - `title` function in `lib/termsupport.zsh`. - Custom user code using the `title` function.","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.0081,"percentile":0.5782,"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/a263cdac","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":11.56},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"ohmyzsh","affectedVersions":[{"vendor":"ohmyzsh","product":"ohmyzsh/ohmyzsh","versions":[">= unspecified, < a263cdac"]}],"euvd":{"id":"EUVD-2021-27006","exploited":false,"provenance":"source"}}