RCE in Ohmyzsh Ohmyzsh/ohmyzsh

CVE-2021-3726

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

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.008 (52.3th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-3726?
CVE-2021-3726 is a high-severity vulnerability in Ohmyzsh Ohmyzsh/ohmyzsh, classified under OS Command Injection. CVSS score: 7.5/10. Published 2021-11-30.
How severe is CVE-2021-3726?
High severity. CVSS v3 base score is 7.5 out of 10.