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...
High CVSS 7.5
- CVE id
- CVE-2017-9951
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Memcached Runtimes and servers |
<= 1.4.38 | after 1.4.38 |
How to fix it
Upgrade Memcached to a release newer than 1.4.38.
memcached -V
- Install the patched Memcached release (the memcached image tag or your packages) and restart it.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
The tryreadcommand 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
- CVE-2017-9951 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2017-9951
- Web: https://github.com/memcached/memcached/wiki/ReleaseNotes1439
- Web: https://groups.google.com/forum/message/raw?msg=memcached/ubGWrkmrr4E/nrm1SeVJAQAJ
- Web: https://usn.ubuntu.com/3588-1/
- Web: https://www.debian.org/security/2018/dsa-4218
- Web: https://www.twistlock.com/2017/07/13/cve-2017-9951-heap-overflow-memcached-server-1-4-38-twistlock-vulnerability-report/
- Web: https://github.com/memcached/memcached/wiki/ReleaseNotes1439
- Web: https://groups.google.com/forum/message/raw?msg=memcached/ubGWrkmrr4E/nrm1SeVJAQAJ
- Web: https://usn.ubuntu.com/3588-1/
- Web: https://www.debian.org/security/2018/dsa-4218
- Web: https://www.twistlock.com/2017/07/13/cve-2017-9951-heap-overflow-memcached-server-1-4-38-twistlock-vulnerability-report/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.