File tree Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Expand file tree Collapse file tree 3 files changed +21
-2
lines changed Original file line number Diff line number Diff line change
1
+ Git v2.13.7 Release Notes
2
+ =========================
3
+
4
+ Fixes since v2.13.6
5
+ -------------------
6
+
7
+ * Submodule "names" come from the untrusted .gitmodules file, but
8
+ we blindly append them to $GIT_DIR/modules to create our on-disk
9
+ repo paths. This means you can do bad things by putting "../"
10
+ into the name (among other things). As these are initially taken
11
+ from the path the submodule initially bound to the project and
12
+ then serve as a constant name across moving it in the directory
13
+ structure, a submodule with a name that does not pass
14
+ verify_path() check, which rejects a string with a substring
15
+ "/../" and ".git/" etc., is now ignored.
16
+
17
+ Credit for finding this vulnerability and the proof of concept from
18
+ which the test script was adapted goes to Etienne Stalmans. Credit
19
+ for the fix goes to Jeff King, Johannes Schindelin and others.
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
GVF=GIT-VERSION-FILE
4
- DEF_VER=v2.13.6
4
+ DEF_VER=v2.13.7
5
5
6
6
LF='
7
7
'
Original file line number Diff line number Diff line change 1
- Documentation/RelNotes/2.13.6 .txt
1
+ Documentation/RelNotes/2.13.7 .txt
You can’t perform that action at this time.
0 commit comments