- 11 Nov, 2021 6 commits
- 
- 
Marc Cornellà authoredThe pygmalion and pygmalion-virtualenv themes unsafely handle git prompt information which results in a double evaluation of this information, so a malicious git repository could trigger a command injection if the user cloned and entered the repository. A similar method could be used in the refined theme. All themes have been patched against this vulnerability. 
- 
Marc Cornellà authoredThe `rand-quote` plugin uses quotationspage.com and prints part of its content to the shell without sanitization, which could trigger command injection. There is no evidence that this has been exploited, but this commit removes all possibility for exploit. Similarly, the `hitokoto` plugin uses the hitokoto.cn website to print quotes to the shell, also without sanitization. Furthermore, there is also no evidence that this has been exploited, but with this change it is now impossible. 
- 
Marc Cornellà authoredThe `title` function unsafely prints its input without sanitization, which if used with custom user code that calls it, it could trigger command injection. The `spectrum_ls` and `spectrum_bls` could similarly be exploited if a variable is changed in the user's shell environment with a carefully crafted value. This is highly unlikely to occur (and if possible, other methods would be used instead), but with this change the exploit of these two functions is now impossible. 
- 
Marc Cornellà authoredThe plugin unsafely processes directory paths in pop_past and pop_future. This commit fixes that. 
- 
Marc Cornellà authoredThe `omz_urldecode` function uses an eval to decode the input which can be exploited to inject commands. This is used only in the svn plugin and it requires a complex process to exploit, so it is highly unlikely to have been used by an attacker. 
 
- 
- 10 Nov, 2021 3 commits
- 
- 
Kirill Molchanov authored
- 
Marc Cornellà authored
- 
Marc Cornellà authoredFixes #10404 
 
- 
- 09 Nov, 2021 6 commits
- 
- 
Marc Cornellà authored
- 
Marc Cornellà authored
- 
Marc Cornellà authored
- 
Marc Cornellà authored
- 
Janusz Mordarski authored
- 
Kevin Burke authoredCo-authored-by: Marc Cornellà <hello@mcornella.com> Marc Cornellà <hello@mcornella.com>
 
- 
- 08 Nov, 2021 2 commits
- 
- 
Shahin Sorkh authored
- 
Marc Cornellà authored
 
- 
- 05 Nov, 2021 2 commits
- 
- 
Jonathan Batchelor authoredApple changed the name of their operating system from OS X to macOS a number of years ago. This was overdue! As per issue #10311 * refactor(osx): rename `osx` plugin to `macos` * refactor(macos): Add symbolic link from old `osx` plugin name. 
- 
Marc Cornellà authored
 
- 
- 03 Nov, 2021 2 commits
- 
- 
Marc Cornellà authored
- 
amnore authored
 
- 
- 02 Nov, 2021 5 commits
- 
- 
Aaron Hutchinson authored
- 
Michael Peick authoredCloses #8370 
- 
Marc Cornellà authored
- 
Marc Cornellà authoredFixes #10350 
- 
Richard Mitchell authored
 
- 
- 30 Oct, 2021 1 commit
- 
- 
Afzal Sayed authored
 
- 
- 29 Oct, 2021 1 commit
- 
- 
YR Chen authored
 
- 
- 27 Oct, 2021 2 commits
- 
- 
Christophe Bliard authored
- 
Marc Cornellà authoredIn recent zsh versions, `${(@ps:$sep:)var}` where $sep is a variable containing a separator string and $var is a string with multiple values separated by $sep, the `p` flag makes zsh correctly expand $sep before splitting $var. In versions older than 5.0.8, this doesn't happen, so we use `eval` to get the same effect.
 
- 
- 26 Oct, 2021 6 commits
- 
- 
Marc Cornellà authored
- 
Marc Cornellà authored
- 
Marc Cornellà authored
- 
Marc Cornellà authored
- 
José Camelo Freitas authored
- 
Marc Cornellà authoredFixes #10345 
 
- 
- 25 Oct, 2021 1 commit
- 
- 
Sina Tak Tehrani authored
 
- 
- 23 Oct, 2021 1 commit
- 
- 
Marc Cornellà authoredFixes #8492 
 
- 
- 20 Oct, 2021 2 commits
- 
- 
Rob Vadai authoredCo-authored-by: Marc Cornellà <hello@mcornella.com> Marc Cornellà <hello@mcornella.com>
- 
Marc Cornellà authoredBREAKING CHANGE: all `gem` aliases that started with `g` now start with `ge` to fix conflicting names with the `git` plugin. Also, the `ghlp` alias is now renamed `geh`. Have a look at the plugin README for more information. Fixes #10320 
 
- 
