CVE-2022-4064Dalli Meta Protocol request_formatter.rb self.meta_set injection
A vulnerability was found in Dalli up to 3.2.2. It has been classified as problematic. Affected is the function self.meta_set of the file lib/dalli/protocol/meta/request_formatter.rb of the component Meta Protocol Handler. The manipulation of the argument cas/ttl leads to injection. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 3.2.3 is able to address this issue. The patch is identified as 48d594dae55934476fec61789e7a7c3700e0f50d. It is recommended to upgrade the affected component.
What to do
Fixed builds are available from RubyGems: 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 26.10 | ruby-dalli | Fix pending | UBUNTU-CVE-2022-4064 | |
| Ubuntu 26.04 | ruby-dalli | Under investigation | UBUNTU-CVE-2022-4064 | |
| Ubuntu 25.10 | ruby-dalli | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-4064 | |
| Ubuntu 24.04 | ruby-dalli | Under investigation | UBUNTU-CVE-2022-4064 | |
| Ubuntu 22.04 | ruby-dalli | Under investigation | UBUNTU-CVE-2022-4064 | |
| Ubuntu 20.04 | ruby-dalli | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-4064 | |
| Ubuntu 18.04 | ruby-dalli | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-4064 | |
| Ubuntu 16.04 | ruby-dalli | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-4064 | |
| RubyGems library | dalli | Fixed | 3.2.3 | GHSA-3xg8-cc8f-9wv2 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Dalli: affected: 3.2.0, 3.2.1, 3.2.2
Vendor advisories:
- https://github.com/petergoldstein/dalli/commit/48d594dae55934476fec61789e7a7c3700e0f50d (patch)
- https://github.com/petergoldstein/dalli/releases/tag/v3.2.3 (patch)
References
- https://vuldb.com/?id.214026
- https://vuldb.com/?ctiid.214026
- https://github.com/petergoldstein/dalli/issues/932
- https://github.com/petergoldstein/dalli/pull/933
- https://github.com/petergoldstein/dalli/commit/48d594dae55934476fec61789e7a7c3700e0f50d
- https://github.com/petergoldstein/dalli/releases/tag/v3.2.3
- https://github.com/advisories/GHSA-3xg8-cc8f-9wv2
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.