Skip to content

git checkout via ssh insecure #1260

@discordianfish

Description

@discordianfish

BUG REPORT:
argo doesn't validate the ssh host key when checking out artifacts from git:

https://github.com/argoproj/argo/blob/master/workflow/artifacts/git/git.go#L37

This poses a huge risk given that it's not uncommon to execute the artifact. That allows a simple man in the middle attack to run code in the context of a pod. I would have disclosed this privately given how severe I consider this, if it weren't for the fact that this is intentionally setup that way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions