Skip to content

[Security] Command Injection vulnerability in fetch() before v1.11.0 #464

@yuzhongqi

Description

@yuzhongqi

Description:
The package prior to v1.11.0 is vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) function, the remote parameter is passed to the git fetch subcommand in a way such that additional flags can be set. The additional flags can be used to perform a command injection.
Suggestion:
Upgrade git from 1.9.1 to 1.11.0 to fix the vulnerability.

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