Skip to content

Commit a9693e7

Browse files
committed
Git 2.17.1
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5a8c71d commit a9693e7

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

Documentation/RelNotes/2.17.1.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Git v2.17.1 Release Notes
2+
=========================
3+
4+
Fixes since v2.17
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+
* In addition to the above fix that also appears in maintenance
18+
releases v2.13.7, v2.14.4, v2.15.2 and v2.16.4, this has support on
19+
the server side to reject pushes to repositories that attempt to
20+
create such problematic .gitmodules file etc. as tracked contents,
21+
to help hosting sites protect their customers by preventing
22+
malicious contents from spreading.
23+
24+
Credit for finding this vulnerability and the proof of concept from
25+
which the test script was adapted goes to Etienne Stalmans. Credit
26+
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.17.0
4+
DEF_VER=v2.17.1
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.17.0.txt
1+
Documentation/RelNotes/2.17.1.txt

0 commit comments

Comments
 (0)