CVE-2017-9951
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 1.5.0-1 |
| debian | bullseye | fixed | 1.5.0-1 |
| debian | forky | fixed | 1.5.0-1 |
| debian | sid | fixed | 1.5.0-1 |
| debian | trixie | fixed | 1.5.0-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| memcached | memcached | {"endIncluding":"1.4.38"} | |
References
- http://www.securityfocus.com/bid/99874
- https://github.com/memcached/memcached/wiki/ReleaseNotes1439
- https://groups.google.com/forum/message/raw?msg=memcached/ubGWrkmrr4E/nrm1SeVJAQAJ
- https://usn.ubuntu.com/3588-1/
- https://www.debian.org/security/2018/dsa-4218
- https://www.twistlock.com/2017/07/13/cve-2017-9951-heap-overflow-memcached-server-1-4-38-twistlock-vulnerability-report/
- https://www.suse.com/security/cve/CVE-2017-9951.html
- https://security-tracker.debian.org/tracker/CVE-2017-9951
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.