ID CVE-2016-8704
Summary An integer overflow in the process_bin_append_prepend function in Memcached, which is responsible for processing multiple commands of Memcached binary protocol, can be abused to cause heap overflow and lead to remote code execution.
References
Vulnerable Configurations
  • cpe:2.3:a:memcached:memcached:1.2.7:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.2.7:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.2.8:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.2.8:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.3:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.3:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.4:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.4:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.5:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.5:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.6:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.6:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.7:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.7:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.8:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.8:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.9:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.9:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.10:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.10:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.11:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.11:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.12:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.12:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.13:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.13:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.14:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.14:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.15:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.15:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.16:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.16:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.17:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.17:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.18:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.18:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.19:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.19:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.20:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.20:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.21:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.21:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.22:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.22:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.23:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.23:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.24:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.24:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.25:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.25:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.26:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.26:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.27:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.27:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.28:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.28:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.29:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.29:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.30:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.30:*:*:*:*:*:*:*
  • cpe:2.3:a:memcached:memcached:1.4.31:*:*:*:*:*:*:*
    cpe:2.3:a:memcached:memcached:1.4.31:*:*:*:*:*:*:*
CVSS
Base: 7.5 (as of 05-01-2018 - 02:31)
Impact:
Exploitability:
CWE CWE-190
CAPEC
  • Forced Integer Overflow
    This attack forces an integer variable to go out of range. The integer variable is often used as an offset such as size of memory allocation or similarly. The attacker would typically control the value of such variable and try to get it out of range. For instance the integer in question is incremented past the maximum possible value, it may wrap to become a very small, or negative number, therefore providing a very incorrect value which can lead to unexpected behavior. At worst the attacker can execute arbitrary code.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
redhat via4
advisories
  • rhsa
    id RHSA-2016:2819
  • rhsa
    id RHSA-2016:2820
  • rhsa
    id RHSA-2017:0059
rpms
  • memcached-0:1.4.15-10.el7_3.1
  • memcached-devel-0:1.4.15-10.el7_3.1
  • memcached-0:1.4.4-3.el6_8.1
  • memcached-devel-0:1.4.4-3.el6_8.1
refmap via4
bid 94083
debian DSA-3704
gentoo GLSA-201701-12
misc http://www.talosintelligence.com/reports/TALOS-2016-0219/
sectrack 1037333
Last major update 05-01-2018 - 02:31
Published 06-01-2017 - 21:59
Back to Top