Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1390511 - (CVE-2016-8705) CVE-2016-8705 memcached: Server update remote code execution
CVE-2016-8705 memcached: Server update remote code execution
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20161031,repo...
: Security
Depends On: 1390513 1390514 1391260 1391261 1391262 1391263 1392271 1392272 1392273 1392274
Blocks: 1390516 1393126
  Show dependency treegraph
 
Reported: 2016-11-01 05:42 EDT by Andrej Nemec
Modified: 2017-01-11 11:31 EST (History)
31 users (show)

See Also:
Fixed In Version: memcached 1.4.33
Doc Type: If docs needed, set a value
Doc Text:
An integer overflow flaw, leading to a heap-based buffer overflow, was found in the memcached binary protocol. An attacker could create a specially crafted message that would cause the memcached server to crash or, potentially, execute arbitrary code.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-24 00:58:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2819 normal SHIPPED_LIVE Important: memcached security update 2016-11-23 07:47:52 EST
Red Hat Product Errata RHSA-2016:2820 normal SHIPPED_LIVE Important: memcached security update 2016-11-23 07:47:24 EST
Red Hat Product Errata RHSA-2017:0059 normal SHIPPED_LIVE Moderate: Red Hat Mobile Application Platform 4.2.1 Security Update - SDKs and RPMs 2017-01-11 16:30:36 EST

  None (edit)
Description Andrej Nemec 2016-11-01 05:42:17 EDT
Multiple integer overflows in process_bin_update function which is
responsible for processing multiple commands of Memcached binary
protocol can be abused to cause heap overflow and lead to remote code
execution.

External References:

http://www.talosintelligence.com/reports/TALOS-2016-0220/

Upstream patch:

https://github.com/memcached/memcached/commit/bd578fc34b96abe0f8d99c1409814a09f51ee71c
Comment 1 Andrej Nemec 2016-11-01 05:44:58 EDT
Created memcached tracking bugs for this issue:

Affects: fedora-all [bug 1390513]
Affects: epel-5 [bug 1390514]
Comment 5 Doran Moppert 2016-11-06 23:40:38 EST
Mitigation:

This flaw is in the memcached binary protocol. If your client programs only use the ASCII protocol when communicating with memcached, you can disable the binary protocol and protect against this flaw by adding "-B ascii" to OPTIONS in /etc/sysconfig/memcached.
Comment 12 errata-xmlrpc 2016-11-23 02:48:33 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2016:2820 https://rhn.redhat.com/errata/RHSA-2016-2820.html
Comment 13 errata-xmlrpc 2016-11-23 02:49:19 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2016:2819 https://rhn.redhat.com/errata/RHSA-2016-2819.html
Comment 14 Garth Mollett 2016-11-24 00:53:26 EST
Statement:

The versions of memcached as shipped with Red Hat OpenStack Platform 7, 8 and 9 are affected by this issue however will not be updated. The latest version of memcached from Red Hat Enterprise Linux 7 can safely be allowed to supersede the earlier versions provided in the Red Hat OpenStack Platform channels.
Comment 16 errata-xmlrpc 2017-01-11 11:31:04 EST
This issue has been addressed in the following products:

  Red Hat Mobile Application Platform 4.2

Via RHSA-2017:0059 https://access.redhat.com/errata/RHSA-2017:0059

Note You need to log in before you can comment on or make changes to this bug.