Bug 895054 (CVE-2013-0179)
Summary: | CVE-2013-0179 memcached: DoS due to buffer overrun when printing out keys to be deleted in verbose mode | |||
---|---|---|---|---|
Product: | [Other] Security Response | Reporter: | Jeremy Sowden <jeremy> | |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> | |
Status: | CLOSED WONTFIX | QA Contact: | ||
Severity: | low | Docs Contact: | ||
Priority: | low | |||
Version: | unspecified | CC: | jorton, jrusnack, lindner, matthias, mlichvar | |
Target Milestone: | --- | Keywords: | Security | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 895072 (view as bug list) | Environment: | ||
Last Closed: | 2019-06-10 10:59:56 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 895139, 895140 | |||
Bug Blocks: | 1052870 |
Description
Jeremy Sowden
2013-01-14 12:10:54 UTC
Proposed patch: https://code.google.com/p/memcached/issues/attachmentText?id=306&aid=3060004000&name=0001-Fix-buffer-overrun-when-logging-key-to-delete-in-bin.patch&token=3GEzHThBL5cxmUrsYANkW03RrNY%3A1358179503096 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: https://code.google.com/p/memcached/wiki/NewConfiguringServer#Networking In particular: "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 Created memcached tracking bugs for this issue Affects: epel-5 [bug 895139] Affects: fedora-all [bug 895140] This was assigned CVE-2013-0179. 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. |