[3.6] memcached: Heap-based buffer over-read in try_read_command function (CVE-2017-9951)
The try_read_command function in memcached.c in memcached before
1.4.39 allows remote attackers to cause a denial of service
(segmentation fault)
via a request to add/set a key, which makes a comparison between signed
and unsigned int and triggers a heap-based buffer over-read.
NOTE: this vulnerability exists because of an incomplete fix for
CVE-2016-8705.
References:
https://github.com/memcached/memcached/wiki/ReleaseNotes1439
https://nvd.nist.gov/vuln/detail/CVE-2017-9951
https://www.twistlock.com/2017/07/13/cve-2017-9951-heap-overflow-memcached-server-1-4-38-twistlock-vulnerability-report/
(from redmine: issue id 7641, created on 2017-08-08, closed on 2017-08-09)
- Relations:
- parent #7640 (closed)
- Changesets:
- Revision 2f8c2695 by Francesco Colista on 2017-08-09T10:29:27Z:
main/memcached: fix for CVE-2017-9951. Fixes #7641