Skip to content

Command injection in counsel-git-checkout-action #1905

@illikainen

Description

@illikainen
Contributor

counsel-git-checkout-action happily executes command substitutes in
git branch names -- e.g.

$ git clone https://github.com/dyntopia/counsel-branch
$ emacs counsel-branch/test
M-x counsel-git-checkout RET RET
/bin/bash: abcd: command not found
error: pathspec 'remotes/origin/' did not match any file(s) known to git.

Activity

added a commit that references this issue on Jan 29, 2019
b4492a3
added a commit that references this issue on Jan 2, 2021
10c8bba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @illikainen

        Issue actions