Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-3726— OS Command Injection in ohmyzsh/ohmyzsh

Quick assessment

Affected
ohmyzsh ohmyzsh/ohmyzsh
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

ohmyzsh是一个开源的、社区驱动的框架,用于管理您的zsh配置。 ohmyzsh 存在操作系统命令注入漏洞,该漏洞源于"lib/termsupport.zsh"中定义的"title"函数使用"print"将终端标题设置为用户提供的字符串。

CVSS 7.5 · High EPSS 0.78% · P53

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-3726

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OS Command Injection in ohmyzsh/ohmyzsh
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
ohmyzsh 操作系统命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
ohmyzsh是一个开源的、社区驱动的框架,用于管理您的zsh配置。 ohmyzsh 存在操作系统命令注入漏洞,该漏洞源于"lib/termsupport.zsh"中定义的"title"函数使用"print"将终端标题设置为用户提供的字符串。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
ohmyzsh ohmyzsh/ohmyzsh unspecified ~ a263cdac -

II. Public POCs for CVE-2021-3726

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-3726

登录查看更多情报信息。

Patches & Fixes for CVE-2021-3726 (1)

Same Patch Batch · ohmyzsh · 2021-11-30 · 4 CVEs total

CVE-2021-3725 7.5 HIGH OS Command Injection in ohmyzsh/ohmyzsh
CVE-2021-3727 7.5 HIGH OS Command Injection in ohmyzsh/ohmyzsh
CVE-2021-3769 7.5 HIGH OS Command Injection in ohmyzsh/ohmyzsh

IV. Related Vulnerabilities

V. Comments for CVE-2021-3726

No comments yet


Leave a comment