CVE-2020-22570
Memcached vulnerability analysis and mitigation

Overview

Memcached versions 1.6.0 before 1.6.3 contains a vulnerability that allows remote attackers to cause a denial of service (daemon crash) via a crafted meta command (NVD, CVE). The vulnerability was discovered and reported on March 27, 2020.

Technical details

The vulnerability stems from a NULL pointer reference bug in the memcached.c file. Specifically, in the processmgetcommand function, there is a local variable 'errstr' defined as a char which is not properly initialized. When the metaflag_preparse function is called with 'errstr' as the 4th parameter, under certain conditions with commands 'F' or 'S', errstr remains uninitialized, leading to a NULL pointer dereference when accessing outerrstring->outstring->strlen (GitHub Issue).

Impact

When successfully exploited, this vulnerability allows remote attackers to cause a denial of service condition by crashing the memcached daemon. This can result in service disruption for applications relying on the affected memcached instances (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Memcached version 1.6.3. Users running affected versions (1.6.0 to 1.6.2) should upgrade to version 1.6.3 or later to mitigate this security issue (Debian Security).

Additional resources


SourceThis report was generated using AI

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