Paper/Archive/CVE-2021-3726

CVE-2021-3726

ohmyzsh ohmyzsh/ohmyzsh — OS Command Injection in ohmyzsh/ohmyzsh

Description · from the CVE record

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

Affected

ProductAffectedFixed inSource
ohmyzsh/ohmyzshunspecified – < a263cdaca263cdacCNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
@huntrdev (CNA)7.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

References

refgithub.com/ohmyzsh/ohmyzsh/commit/a263cdac