CVE-2023-27478
Awesome Libmemcached vulnerability
libmemcached-awesome is an open source C/C++ client library and tools for the memcached server. `libmemcached` could return data for a previously requested key, if that previous request timed out due to a low `POLL_TIMEOUT`. This issue has been addressed in version 1.1.4. Users are advised to upgrade. There are several ways to workaround or lower the probability of this bug affecting a given deployment. 1: use a reasonably high `POLL_TIMEOUT` setting, like the default. 2: use separate libmemcached connections for unrelated data. 3: do not re-use libmemcached connections in an unknown state.
Affected products
Libmemcached. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Awesome Libmemcached runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/awesomized/libmemcached/commit/48dcc61a · Patch
- github.com/awesomized/libmemcached/security/advisories/GHSA-wwmh-39wj-fx59 · Patch
- github.com/php-memcached-dev/php-memcached/issues/531 · Exploit
- github.com/awesomized/libmemcached/releases/tag/1.1.4
- nvd.nist.gov/vuln/detail/CVE-2023-27478
- cve.org/CVERecord?id=CVE-2023-27478
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.