CVE-2022-4064 json
Dalli Meta Protocol request_formatter.rb self.meta_set injection
published 3y ago modified 4mo ago also GHSA-3xg8-cc8f-9wv2 , EUVD-2022-7217
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems dalli 3.2.3
- dalli_project dalli 3.2.3
Is CVE-2022-4064 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-4064 updated cvss 3.1
rubygem-dalli: code injection via flush_all
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.40% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/petergoldstein/dalli/issues/932 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | 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 |
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.0 | 3.7 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| CNA | 2.0 | 2.6 | AV:N/AC:H/Au:N/C:N/I:P/A:N |
| CNA | 4.0 | 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | dalli | <3.2.3 |
3.2.3 |
Affected products
- n/a Dalli
Classification
References
-
github.com
/petergoldstein/dalli/pull/933
issue-tracking, web, patch, third-party-advisory
-
github.com
/petergoldstein/dalli/commit/48d594dae55934476fec61789e7a7c3700e0f50d
patch, web, third-party-advisory
-
github.com
/petergoldstein/dalli/releases/tag/v3.2.3
patch
-
github.com
/petergoldstein/dalli/issues/932
exploit, issue-tracking, web, third-party-advisory
-
vuldb.com
/?id.214026
vdb-entry, technical-description, web, third-party-advisory
-
vuldb.com
/?ctiid.214026
signature, permissions-required
-
github.com
/advisories/GHSA-3xg8-cc8f-9wv2
issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2022-4064
advisory
-
github.com
/petergoldstein/dalli
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/dalli/CVE-2022-4064.yml
web
Sources
- CVE List CVE-2022-4064
- GitHub Advisory GHSA-3xg8-cc8f-9wv2
- NVD CVE-2022-4064
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.