Skip to contentSkip to conversation

squid: bump version to 3.5.27

PATCH Superseded Peter Korsgaard 2 participants 4 messages Jan 22, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 squid: bump version to 3.5.27

And add a hash for the license files.

---
 package/squid/squid.hash | 8 +++++---
 package/squid/squid.mk   | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)
package/squid/squid.hash +5 -3
index 91ba9e6fc4..8787cb25ef 100644
@@ -1,3 +1,5 @@
-# From http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.26.tar.xz.asc
-md5 510e2c84773879c00d0e7ced997864d9  squid-3.5.26.tar.xz
-sha1 51a664217957b35de8b7fae180b9f93a759a4204  squid-3.5.26.tar.xz
+# From http://www.squid-cache.org/Versions/v3/3.5/squid-3.5.27.tar.xz.asc
+md5 39ef8199675d48a314b540f92c00c545 squid-3.5.27.tar.xz
+sha1 1e69c96d13cd49844da3bcf33a0b428fbe7b6f77 squid-3.5.27.tar.xz
+# Locally calculated
+sha256 58f5d05257af1fb964fde20e134d660fac9afa86b6fd8c70d63ead63068378fa COPYING
package/squid/squid.mk +1 -1
index d334d14c88..8ade55ee37 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 SQUID_VERSION_MAJOR = 3.5
-SQUID_VERSION = $(SQUID_VERSION_MAJOR).26
+SQUID_VERSION = $(SQUID_VERSION_MAJOR).27
 SQUID_SOURCE = squid-$(SQUID_VERSION).tar.xz
 SQUID_SITE = http://www.squid-cache.org/Versions/v3/$(SQUID_VERSION_MAJOR)
 SQUID_LICENSE = GPL-2.0+
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 squid: add upstream post-3.5.27 security patches

Fixes the following security issues:

SQUID-2018:1 Due to incorrect pointer handling Squid is vulnerable to denial of service attack when processing ESI responses.

http://www.squid-cache.org/Advisories/SQUID-2018_1.txt

SQUID-2018:2 Due to incorrect pointer handling Squid is vulnerable to denial of service attack when processing ESI responses or downloading intermediate CA certificates.

http://www.squid-cache.org/Advisories/SQUID-2018_2.txt

---
 package/squid/squid.hash | 2 ++
 package/squid/squid.mk   | 3 +++
 2 files changed, 5 insertions(+)
package/squid/squid.hash +2 -0
index 8787cb25ef..89955eb4ad 100644
@@ -3,3 +3,5 @@ md5 39ef8199675d48a314b540f92c00c545 squid-3.5.27.tar.xz
 sha1 1e69c96d13cd49844da3bcf33a0b428fbe7b6f77 squid-3.5.27.tar.xz
 # Locally calculated
 sha256 58f5d05257af1fb964fde20e134d660fac9afa86b6fd8c70d63ead63068378fa COPYING
+sha256 a85bac80f9bf0b389a0b0fe24630eda59a4fbaf6a1b398ba2f57d5799662fb6e eb2db98a676321b814fc4a51c4fb7928a8bb45d9.patch
+sha256 78a44073ebd68c9c8c05bb590690ba57b5eaf6ee0465a06fcad82dba65612f60 8232b83d3fa47a1399f155cb829db829369fbae9.patch
package/squid/squid.mk +3 -0
index 8ade55ee37..b088766470 100644
@@ -12,6 +12,9 @@ SQUID_LICENSE = GPL-2.0+
 SQUID_LICENSE_FILES = COPYING
 # For 0001-assume-get-certificate-ok.patch
 SQUID_AUTORECONF = YES
+SQUID_PATCH = \
+	https://github.com/squid-cache/squid/commit/eb2db98a676321b814fc4a51c4fb7928a8bb45d9.patch \
+	https://github.com/squid-cache/squid/commit/8232b83d3fa47a1399f155cb829db829369fbae9.patch
 SQUID_DEPENDENCIES = libcap host-libcap host-pkgconf \
 	$(if $(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),libnetfilter_conntrack)
 SQUID_CONF_ENV = \
Signature · 1 line
2.11.0
#2 lore raw

PATCH 2/2 squid: add upstream post-3.5.27 security patches

Hi Peter,

package/squid/squid.mk SQUID_LICENSE = GPL-2.0+ · line 17

Quoted 9 lines · Peter Korsgaard
package/squid/squid.mk +3 -0
@@ -12,6 +12,9 @@ SQUID_LICENSE = GPL-2.0+
 SQUID_LICENSE_FILES = COPYING
 # For 0001-assume-get-certificate-ok.patch
 SQUID_AUTORECONF = YES
+SQUID_PATCH = \
+	https://github.com/squid-cache/squid/commit/eb2db98a676321b814fc4a51c4fb7928a8bb45d9.patch \
+	https://github.com/squid-cache/squid/commit/8232b83d3fa47a1399f155cb829db829369fbae9.patch

Didn't we stop fetching patches from github because they might break the hash in the future? See for example commit bbbe00ea35dd2133 (trinity: don't download patches from Github).

package/squid/squid.mk SQUID_LICENSE = GPL-2.0+ · line 20

Quoted 3 lines
package/squid/squid.mk +0 -0
 SQUID_DEPENDENCIES = libcap host-libcap host-pkgconf \
 	$(if $(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),libnetfilter_conntrack)
 SQUID_CONF_ENV = \

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#3 lore raw

PATCH 2/2 squid: add upstream post-3.5.27 security patches

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Hi Peter,
On Mon, Jan 22, 2018 at 04:13:39PM +0100, Peter Korsgaard wrote:

Quoted 13 lines

package/squid/squid.mk SQUID_LICENSE = GPL-2.0+ · line 17

Quoted 9 lines
package/squid/squid.mk +0 -0
@@ -12,6 +12,9 @@ SQUID_LICENSE = GPL-2.0+

SQUID_LICENSE_FILES = COPYING
# For 0001-assume-get-certificate-ok.patch
SQUID_AUTORECONF = YES

package/squid/squid.mk +3 -0
+SQUID_PATCH = \
+	https://github.com/squid-cache/squid/commit/eb2db98a676321b814fc4a51c4fb7928a8bb45d9.patch \
+	https://github.com/squid-cache/squid/commit/8232b83d3fa47a1399f155cb829db829369fbae9.patch

Didn't we stop fetching patches from github because they might break the hash in the future? See for example commit bbbe00ea35dd2133 (trinity: don't download patches from Github).

Hmm, correct - I'll include them in package/squid and resend, thanks!

Signature · 1 line
Bye, Peter Korsgaard