Skip to main content
← All vulnerabilities
CVE-2021-3769

OS Command Injection in ohmyzsh/ohmyzsh

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in b3ba9978
None on Exploit-DB, Metasploit or GitHub

Summary

Vulnerability in `pygmalion`, `pygmalion-virtualenv` and `refined` themes Description: these themes use `print -P` on user-supplied strings to print them to the terminal. All of them do that on git information, particularly the branch name, so if the branch has a specially-crafted name the vulnerability can be exploited. Fixed in: b3ba9978. Impacted areas: - `pygmalion` theme. - `pygmalion-virtualenv` theme. - `refined` theme.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • ohmyzsh ohmyzsh/ohmyzsh

    fixed in b3ba9978

References 1

GitHub · ohmyzsh/ohmyzsh