Ubuntu update for Memcached



Risk High
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2016-8704
CVE-2016-8705
CVE-2016-8706
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Heap-based buffer overflow

EUVDB-ID: #VU4138

Risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2016-8704

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists in the process_bin_append_prepend() function due to integer overflow. A remote attacker can send specially crafted Memcached binary protocol commands, trigger heap-based buffer overflow and execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation

Update the affected packages

Ubuntu 16.10:
memcached 1.4.25-2ubuntu2.1
Ubuntu 16.04 LTS:
memcached 1.4.25-2ubuntu1.2
Ubuntu 14.04 LTS:
memcached 1.4.14-0ubuntu9.1
Ubuntu 12.04 LTS:
memcached 1.4.13-0ubuntu2.2

Vulnerable software versions

Ubuntu: 12.04 - 16.10

CPE2.3 External links

https://www.ubuntu.com/usn/usn-3120-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Heap-based buffer overflow

EUVDB-ID: #VU4139

Risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2016-8705

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists in the process_bin_update() function due to integer overflow. A remote attacker can send specially crafted Memcached binary protocol commands, trigger heap-based buffer overflow and execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation

Update the affected packages

Ubuntu 16.10:
memcached 1.4.25-2ubuntu2.1
Ubuntu 16.04 LTS:
memcached 1.4.25-2ubuntu1.2
Ubuntu 14.04 LTS:
memcached 1.4.14-0ubuntu9.1
Ubuntu 12.04 LTS:
memcached 1.4.13-0ubuntu2.2

Vulnerable software versions

Ubuntu: 12.04 - 16.10

CPE2.3 External links

https://www.ubuntu.com/usn/usn-3120-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Heap-based buffer overflow

EUVDB-ID: #VU4140

Risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2016-8706

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists in the process_bin_sasl_auth() function due to integer overflow. A remote attacker can send specially crafted Memcached binary protocol commands, trigger heap-based buffer overflow and execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation

Update the affected packages

Ubuntu 16.10:
memcached 1.4.25-2ubuntu2.1
Ubuntu 16.04 LTS:
memcached 1.4.25-2ubuntu1.2
Ubuntu 14.04 LTS:
memcached 1.4.14-0ubuntu9.1
Ubuntu 12.04 LTS:
memcached 1.4.13-0ubuntu2.2

Vulnerable software versions

Ubuntu: 12.04 - 16.10

CPE2.3 External links

https://www.ubuntu.com/usn/usn-3120-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###