Skip to content
OpenAdvisories
High · 7.5 CVE-2021-3726 EUVD-2021-27006GHSA-8jcw-2h4x-29pq

OS Command Injection in ohmyzsh/ohmyzsh

Published Nov 30, 2021 · Updated Aug 3, 2024 · Assigned by @huntrdev

Description

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

VendorProductAffectedFixed
ohmyzsh ohmyzsh/ohmyzsh unspecified – < a263cdac a263cdac

References