Red Hat Bugzilla – Bug 1052863
CVE-2013-7290 memcached: remote DoS (segmentation fault) via a request to delete a key
Last modified: 2015-10-15 14:10:52 EDT
Common Vulnerabilities and Exposures assigned an identifier CVE-2013-7290 to the following vulnerability:
The do_item_get function in items.c in memcached 1.4.4 and other versions before 1.4.17, when running in verbose mode, allows remote attackers to cause a denial of service (segmentation fault) via a request to delete a key, which does not account for the lack of a null terminator in the key and triggers a buffer over-read when printing to stderr, a different vulnerability than CVE-2013-0179.
Created memcached tracking bugs for this issue:
Affects: fedora-all [bug 1052865]
Affects: epel-5 [bug 1052866]
As per the CVE-2013-0179 bug and re-posting because of the close similarities of the flaws (from https://bugzilla.redhat.com/show_bug.cgi?id=895054#c2 ):
However, I'm not sure if we would consider this a security flaw. For one, you need to run memcached with -vv (probably not used in production but for testing).
It would also indicate that this would be a local-only flaw (or from other trusted source) as the docs explicitly say that you shouldn't expose memcached to untrusted users:
"Memcached does not spend much, if any, effort in ensuring its defensibility from random internet connections. So you must not expose memcached directly to the internet, or otherwise any untrusted users. Using SASL authentication here helps, but should not be totally trusted."
I guess this could be considered a low-impact security flaw due to the conditions required to make an attack meaningful:
- start memcached with -vv (not the default)
- make it available to untrusted users (not recommended as per docs)
- memcached runs non-root and with FORTIFY_SOURCE/SSP any buffer overflow should be rendered a simple DoS
The Red Hat Security Response Team has rated this issue as having low security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
memcached-1.4.17-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
memcached-1.4.17-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.