CVE-2021-3726

OS Command Injection in ohmyzsh/ohmyzsh

State
Published
Severity
7.5 High
Published
Nov 30, 2021
Updated
Aug 3, 2024
Reserved
Aug 19, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H@huntrdev

Weaknesses

Affected Products

ProductVersions
ohmyzsh/ohmyzshohmyzsh
  • before a263cdacAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.