Skip to content

Commit fd5a7c5

Browse files
committed
Git 2.13.7
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0d084b1 commit fd5a7c5

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

Documentation/RelNotes/2.13.7.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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.

GIT-VERSION-GEN

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
GVF=GIT-VERSION-FILE
4-
DEF_VER=v2.13.6
4+
DEF_VER=v2.13.7
55

66
LF='
77
'

RelNotes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Documentation/RelNotes/2.13.6.txt
1+
Documentation/RelNotes/2.13.7.txt

0 commit comments

Comments
 (0)