CVE-2023-27478Disclosure of unrelated data in libmemcached-awesome
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | libmemcached | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | libmemcached | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | libmemcached | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | libmemcached | Fix pending | ||
| Ubuntu 14.04 | libmemcached | Fix pending | ||
| Debian 14 | libmemcached | Fixed | 1.1.4-1 | DEBIAN-CVE-2023-27478 |
| Debian 13 | libmemcached | Fixed | 1.1.4-1 | DEBIAN-CVE-2023-27478 |
| Debian 12 | libmemcached | Fixed | 1.1.4-1 | DEBIAN-CVE-2023-27478 |
| Red Hat Enterprise Linux 8 | libmemcached | Not affected | ||
| Red Hat Enterprise Linux 8 | libmemcached-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | libmemcached-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | libmemcached | Not affected | ||
| Red Hat Enterprise Linux 7 | libmemcached-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libmemcached | Not affected | ||
| Red Hat Enterprise Linux 6 | libmemcached-devel | Not affected |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- awesomized libmemcached: affected: > 1.0.18, < 1.1.4
References
- https://github.com/awesomized/libmemcached/security/advisories/GHSA-wwmh-39wj-fx59
- https://github.com/php-memcached-dev/php-memcached/issues/531
- https://github.com/awesomized/libmemcached/commit/48dcc61a
- https://github.com/awesomized/libmemcached/releases/tag/1.1.4
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.