Files
git/builtin
Johannes Schindelin e8d0608944 submodule: require the submodule path to contain directories only
Submodules are stored in subdirectories of their superproject. When
these subdirectories have been replaced with symlinks by a malicious
actor, all kinds of mayhem can be caused.

This _should_ not be possible, but many CVEs in the past showed that
_when_ possible, it allows attackers to slip in code that gets executed
during, say, a `git clone --recursive` operation.

Let's add some defense-in-depth to disallow submodule paths to have
anything except directories in them.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2024-04-17 22:30:04 +02:00
..
2022-04-06 09:42:14 -07:00
2023-02-06 09:43:39 +01:00
2021-10-28 09:57:09 -07:00
2022-11-23 11:22:24 +09:00
2022-11-16 14:57:32 -05:00
2022-11-18 18:43:09 -05:00
2022-11-28 12:13:46 +09:00
2021-11-03 13:25:36 -07:00