Vulnerability · Published Nov 19, 2022 · Assigned by VulDB
CVE-2022-4064Dalli Meta Protocol request_formatter.rb self.meta_set injection
Low 3.7
In plain English
A low-severity injection in Dalli. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | dalli | 3.2.3 | GHSA-3xg8-cc8f-9wv2 |
| Ubuntu:22.04:LTS | ruby-dalli | no fix listed | UBUNTU-CVE-2022-4064 |
| Ubuntu:24.04:LTS | ruby-dalli | no fix listed | UBUNTU-CVE-2022-4064 |
| Ubuntu:25.10 | ruby-dalli | no fix listed | UBUNTU-CVE-2022-4064 |
| Ubuntu:26.04:LTS | ruby-dalli | no fix listed | UBUNTU-CVE-2022-4064 |
| Ubuntu:26.10 | ruby-dalli | no fix listed | UBUNTU-CVE-2022-4064 |
Affected products (as reported)
Weakness: CWE-74, CWE-707 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- VDB-214026 | Dalli Meta Protocol request_formatter.rb self.meta_set injection vdb-entry, technical-description
- VDB-214026 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- https://github.com/petergoldstein/dalli/issues/932 exploit, issue-tracking
- https://github.com/petergoldstein/dalli/pull/933 issue-tracking
- https://github.com/petergoldstein/dalli/commit/48d594dae55934476fec61789e7a7c3700e0f50d patch
- https://github.com/petergoldstein/dalli/releases/tag/v3.2.3 patch
- https://github.com/advisories/GHSA-3xg8-cc8f-9wv2 issue-tracking