File tree 3 files changed +14
-1
lines changed
3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change
1
+ Drupal 7.78, 2021-01-19
2
+ -----------------------
3
+ - Fixed security issues:
4
+ - SA-CORE-2021-001
5
+
1
6
Drupal 7.77, 2020-12-03
2
7
-----------------------
3
8
- Hotfix for schema.prefixed tables
Original file line number Diff line number Diff line change 8
8
/**
9
9
* The current system version.
10
10
*/
11
- define ('VERSION ' , '7.77 ' );
11
+ define ('VERSION ' , '7.78 ' );
12
12
13
13
/**
14
14
* Core API compatibility.
Original file line number Diff line number Diff line change @@ -2178,6 +2178,14 @@ class Archive_Tar
2178
2178
}
2179
2179
}
2180
2180
} elseif ($ v_header ['typeflag ' ] == "2 " ) {
2181
+ if (strpos (realpath (dirname ($ v_header ['link ' ])), realpath ($ p_path )) !== 0 ) {
2182
+ $ this ->_error (
2183
+ 'Out-of-path file extraction { '
2184
+ . $ v_header ['filename ' ] . ' --> ' .
2185
+ $ v_header ['link ' ] . '} '
2186
+ );
2187
+ return false ;
2188
+ }
2181
2189
if (!$ p_symlinks ) {
2182
2190
$ this ->_warning ('Symbolic links are not allowed. '
2183
2191
. 'Unable to extract { '
You can’t perform that action at this time.
0 commit comments