Bug 42563

Summary: squid3: Denial of service (3.3)
Product: UCS Reporter: Arvid Requate <requate>
Component: Security updatesAssignee: UCS maintainers <ucs-maintainers>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P4 CC: gohmann, requate
Version: UCS 3.3Flags: requate: Patch_Available+
Target Milestone: ---   
Hardware: Other   
OS: Linux   
What kind of report is it?: Security Issue What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional): Security
Max CVSS v3 score: 5.1 (CVSS:2.0/AV:N/AC:H/Au:N/C:P/I:P/A:P)
Bug Depends on: 40834, 43408    
Bug Blocks: 40807    

Description Arvid Requate univentionstaff 2016-10-05 10:11:34 CEST
+++ This bug was initially created as a clone of Bug #40807 +++

Upstream Debian package version 3.1.6-1.2+squeeze6 fixes these issues:

* Squid 3.x before 3.5.15 and 4.x before 4.0.7 does not properly append data to String objects, which allows remote servers to cause a denial of service (assertion failure and daemon exit) via a long string, as demonstrated by a crafted HTTP Vary header. (CVE-2016-2569)                  

* http.cc in Squid 3.x before 3.5.15 and 4.x before 4.0.7 proceeds with the storage of certain data after a response-parsing failure, which allows remote HTTP servers to cause a denial of service (assertion failure and daemon exit) via a malformed response. (CVE-2016-2571)
Comment 1 Arvid Requate univentionstaff 2016-10-05 10:12:11 CEST
Upstream package version 3.1.6-1.2+squeeze7 reverts the patch for CVE-2016-2569 because it caused a regression.

There is another issue:

* The Edge Side Includes (ESI) parser in Squid 3.x before 3.5.15 and 4.x before 4.0.7 does not check buffer limits during XML parsing, which allows remote HTTP servers to cause a denial of service (assertion failure and daemon exit) via a crafted XML document, related to esi/CustomParser.cc and esi/CustomParser.h. (CVE-2016-2570)
Comment 2 Arvid Requate univentionstaff 2016-10-05 10:12:20 CEST
Upstream Debian wheezy package version 3.1.20-2.2+deb7u5 fixes these issues:

* CVE-2016-4051: Buffer overflow in cachemgr.cgi.
* CVE-2016-4052: Multiple stack-based buffer overflows by wrongly
  handling Edge Side Includes (ESI) responses.
* CVE-2016-4053: Public information disclosure of the server stack
  layout when processing ESI responses.
* CVE-2016-4054: Remote code execution when processing ESI responses.
* CVE-2016-4554: Header Smuggling issue in HTTP Request processing.
* CVE-2016-4555 and CVE-2016-4556: Denial of Service when processing

Either we extract the patches or we update the package.
Comment 3 Stefan Gohmann univentionstaff 2019-01-03 07:10:55 CET
This issue has been filled against UCS 3.3. The maintenance with bug and security fixes for UCS 3.3 has ended on 31st of December 2016.

Customers still on UCS 3.3 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.