Lucene search

K
redhatcveRedhat.comRH:CVE-2019-1387
HistoryApr 09, 2020 - 7:30 a.m.

CVE-2019-1387

2020-04-0907:30:43
redhat.com
access.redhat.com
8

0.087 Low

EPSS

Percentile

94.6%

A flaw was discovered where git improperly validates submodules’ names used to construct git metadata paths and does not prevent them from being nested in existing directories used to store another submodule’s metadata. A remote attacker could abuse this flaw to trick a victim user into cloning a malicious repository containing submodules, which, when recursively cloned, would trigger the flaw and remotely execute code on the victim’s machine.

Mitigation

Avoid running git clone --recurse-submodules and git submodule update with untrusted repositories.