CVE-2020-10931
Memcached vulnerability analysis and mitigation

Overview

Memcached 1.6.x before 1.6.2 contains a vulnerability that allows remote attackers to cause a denial of service (daemon crash) via a crafted binary protocol header to try_read_command_binary in memcached.c. The vulnerability was discovered and disclosed on March 24, 2020, affecting versions 1.6.0 and 1.6.1 of the Memcached software (NVD, CVE).

Technical details

The vulnerability stems from a buffer overflow issue in the binary protocol header parsing functionality. The root cause is located in memcached.c where there is no mechanism to verify the parameter's length (extlen) when calling the memcpy function. The vulnerability has a CVSS v3.1 Base Score of 7.5 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating it can be exploited remotely with low attack complexity and requires no privileges or user interaction (NVD, GitHub Issue).

Impact

The successful exploitation of this vulnerability results in a denial of service condition through daemon crash. The impact is limited to availability, with no direct effect on confidentiality or integrity of the system (NVD).

Mitigation and workarounds

The vulnerability was fixed in Memcached version 1.6.2. Users are advised to update immediately to this version or later. As a temporary workaround, if the binary protocol is not being used, it can be disabled using the -B ascii option. The fix involves implementing proper length validation for the extlen parameter (Release Notes, GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Memcached vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-46853CRITICAL9.8
  • MemcachedMemcached
  • cpe:2.3:a:memcached:memcached
NoYesOct 27, 2023
CVE-2023-46852HIGH7.5
  • MemcachedMemcached
  • memcached
NoYesOct 27, 2023
CVE-2022-48571HIGH7.5
  • MemcachedMemcached
  • memcached
NoYesAug 22, 2023
CVE-2020-22570HIGH7.5
  • MemcachedMemcached
  • memcached
NoYesAug 22, 2023
CVE-2021-37519MEDIUM5.5
  • MemcachedMemcached
  • memcached
NoYesFeb 03, 2023

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management