Skip to content
Snippets Groups Projects
Commit 5408ef43 authored by Chris Gross's avatar Chris Gross
Browse files

Updated Drupal core to 7.75 per SA-CORE-2020-013

parent df040393
No related branches found
No related tags found
No related merge requests found
Drupal 7.75, 2020-11-26
-----------------------
- Fixed security issues:
- SA-CORE-2020-013
Drupal 7.74, 2020-11-17
-----------------------
- Fixed security issues:
......
......@@ -8,7 +8,7 @@
/**
* The current system version.
*/
define('VERSION', '7.74');
define('VERSION', '7.75');
/**
* Core API compatibility.
......
......@@ -1788,7 +1788,7 @@ class Archive_Tar
// ----- Extract the properties
$v_header['filename'] = rtrim($v_data['filename'], "\0");
if ($this->_maliciousFilename($v_header['filename'])) {
if ($this->_isMaliciousFilename($v_header['filename'])) {
$this->_error(
'Malicious .tar detected, file "' . $v_header['filename'] .
'" will not install in desired directory tree'
......@@ -1858,9 +1858,9 @@ class Archive_Tar
*
* @return bool
*/
private function _maliciousFilename($file)
private function _isMaliciousFilename($file)
{
if (strpos($file, 'phar://') === 0) {
if (strpos($file, '://') !== false) {
return true;
}
if (strpos($file, '../') !== false || strpos($file, '..\\') !== false) {
......@@ -1896,7 +1896,7 @@ class Archive_Tar
$v_filename = rtrim(substr($v_filename, 0, $v_filesize), "\0");
$v_header['filename'] = $v_filename;
if ($this->_maliciousFilename($v_filename)) {
if ($this->_isMaliciousFilename($v_filename)) {
$this->_error(
'Malicious .tar detected, file "' . $v_filename .
'" will not install in desired directory tree'
......
WCM Base 7.x-1.30, 2020-11-30
-----------------------------
- WCM Base: Updated Drupal core to 7.75 per SA-CORE-2020-013.
WCM Base 7.x-1.29, 2020-11-18
-----------------------------
- WCM Base: Updated Drupal core to 7.74 per SA-CORE-2020-012.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment