Advisory

GHSA-8gg6-3r63-25m8

Also known as: CVE-2015-8968

Summary

git-fastclone permits arbitrary shell command execution from .gitmodules

Details

git-fastclone before 1.0.1 permits arbitrary shell command execution from .gitmodules. If an attacker can instruct a user to run a recursive clone from a repository they control, they can get a client to run an arbitrary shell command. Alternately, if an attacker can MITM an unencrypted git clone, they could exploit this. The ext command will be run if the repository is recursively cloned or if submodules are updated. This attack works when cloning both local and remote repositories.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-08-15 20:03 UTC
Modified
2024-02-16 08:19 UTC

Affected packages and fixes

git-fastclone

RubyGems · All systems

Affected

  • introduced 0, fixed 1.0.1 (ecosystem)

Fixed versions

1.0.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences