CVE-2021-3726

published 30 Nov 2021 · updated 3 Aug 2024

OS Command Injection in ohmyzsh/ohmyzsh

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in a263cdac.

# 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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ohmyzsh<a263cdaca263cdac

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3726 severity on Zeptric[![CVE-2021-3726](https://zeptric.io/badge/cve/CVE-2021-3726.svg)](https://zeptric.io/cve/CVE-2021-3726)