Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

git shell wrapper input verification #3

@madwort

Description

@madwort

I've been eyeing this script quite suspiciously this morning:

https://github.com/opensafely/git-server-proxy/blob/master/setup/git-shell-wrapper.py#L11-L24

I didn't manage to exploit it yet, because of the multiple constraints that it would have to satisfy, but I would feel more comfortable with some explicit verification of the contents of argv before passing them to subprocess.

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