CVEfocus › CVE database › CVE-2022-4064

CVE-2022-4064Dalli Meta Protocol request_formatter.rb self.meta_set injection

CVSS 3.7 LowEPSS 1.7% (higher than 78% of CVEs)Published 2022-11-19Updated 2025-04-15Assigner: VulDB

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.

CWE-707CWE-74

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

1Fixed
1Fix pending
3Under investigation
4Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ruby-dalliFix pendingUBUNTU-CVE-2022-4064
Ubuntu 26.04ruby-dalliUnder investigationUBUNTU-CVE-2022-4064
Ubuntu 25.10ruby-dalliWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-4064
Ubuntu 24.04ruby-dalliUnder investigationUBUNTU-CVE-2022-4064
Ubuntu 22.04ruby-dalliUnder investigationUBUNTU-CVE-2022-4064
Ubuntu 20.04ruby-dalliWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-4064
Ubuntu 18.04ruby-dalliWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-4064
Ubuntu 16.04ruby-dalliWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-4064
RubyGems librarydalliFixed3.2.3GHSA-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.

Vendor advisories:

References

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.