CVE-2022-4064
Dalli 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.3
Dalli 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.
- Record
CVE-2022-4064- CVSS 4.0
- 6.3 Medium
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 - CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N - CVSS 3.0
- 3.7 Low
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N - CVSS 2.0
- 2.6
AV:N/AC:H/Au:N/C:N/I:P/A:N - Weakness
- CWE-74, CWE-707
- Updated
- 2026-11-02
EUVDEUVD-2022-7217
6.3
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.
- Record
EUVD-2022-7217- CVSS 4.0
- 6.3 Medium
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-3xg8-cc8f-9wv2
3.7
Unsanitized input leading to code injection in Dalli
A vulnerability was found in Dalli. 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 leads to injection. The exploit has been disclosed to the public and may be used. The name of the patch is 48d594dae55934476fec61789e7a7c3700e0f50d. It is recommended to apply a patch to fix this issue.
- Record
GHSA-3xg8-cc8f-9wv2- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-74
- Updated
- 2026-11-02
NVD
6.3
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.
- Record
CVE-2022-4064- CVSS 4.0
- 6.3 Medium
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 - CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N - CVSS 2.0
- 2.6 Low
AV:N/AC:H/Au:N/C:N/I:P/A:N - Weakness
- CWE-74, CWE-707
- Updated
- 2026-11-02
OSV
6.3
Dalli 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.
- Record
CVE-2022-4064- CVSS 4.0
- 6.3 Medium
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 - Weakness
- CWE-707, CWE-74
- Updated
- 2026-11-02
OSVGHSA-3xg8-cc8f-9wv2
3.7
Unsanitized input leading to code injection in Dalli
A vulnerability was found in Dalli. 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 leads to injection. The exploit has been disclosed to the public and may be used. The name of the patch is 48d594dae55934476fec61789e7a7c3700e0f50d. It is recommended to apply a patch to fix this issue.
- Record
GHSA-3xg8-cc8f-9wv2- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N - Weakness
- CWE-74
- Updated
- 2026-11-02
OSVOESA-2023-1002
3.7
rubygem-dalli security update
High performance memcached client for Ruby
Security Fix(es):
A vulnerability was found in Dalli. 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 leads to injection. The exploit has been disclosed to the public and may be used. The name of the patch is 48d594dae55934476fec61789e7a7c3700e0f50d. It is recommended to apply a patch to fix this issue. VDB-214026 is the identifier assigned to this vulnerability.(CVE-2022-4064)
- Record
OESA-2023-1002- CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2022-4064
6.3
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.
- Record
UBUNTU-CVE-2022-4064- CVSS 4.0
- 6.3 Medium
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 - CVSS 3.1
- 3.7 Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dalliRubyGems |
before 3.2.3 | 3.2.3 |
dalliRubyGems |
before 3.2.3, plus listed versions 0.10.00.10.10.11.00.11.10.11.2 Show 45 moreShow less0.9.00.9.10.9.100.9.20.9.30.9.40.9.50.9.60.9.70.9.80.9.91.0.01.0.11.0.21.0.31.0.41.0.51.1.11.1.21.1.31.1.41.1.52.0.02.0.12.0.22.0.32.0.42.0.52.1.02.2.02.2.12.3.02.5.02.6.02.6.12.6.22.6.32.6.42.7.02.7.12.7.102.7.112.7.22.7.32.7.4 |
3.2.3 |
rubygem-dalliopenEuler:22.03-LTS-SP1 |
before 3.2.2-2.oe2203sp1 | 3.2.2-2.oe2203sp1 |
ruby-dalliUbuntu:16.04:LTS |
All versions, plus listed versions 2.7.4-1 |
None known |
ruby-dalliUbuntu:18.04:LTS |
All versions, plus listed versions 2.7.4-1 |
None known |
ruby-dalliUbuntu:20.04:LTS |
All versions, plus listed versions 2.7.9-12.7.9-2 |
None known |
ruby-dalliUbuntu:22.04:LTS |
All versions, plus listed versions 2.7.11-13.0.6-1 |
None known |
ruby-dalliUbuntu:24.04:LTS |
All versions, plus listed versions 3.0.6-1.13.0.6-2 |
None known |
ruby-dalliUbuntu:25.10 |
All versions, plus listed versions 3.2.8-13.2.8-2 |
None known |
ruby-dalliUbuntu:26.10 |
All versions, plus listed versions 3.2.8-25.0.5-15.0.6-1 |
None known |
ruby-dalliUbuntu:26.04:LTS |
All versions, plus listed versions 3.2.8-2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-4064 is a medium vulnerability (CVSS 6.3) in Dalli Project Dalli, published November 19, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.40%, the 72nd percentile. Fixed in dalli 3.2.3.
References
vuldb.com?id.214026
vuldb.com?ctiid.214026
github.com/petergoldstein/dalli/issues/932
github.com/petergoldstein/dalli/pull/933
github.com/petergoldstein/dalli/commit/48d594dae55934476fec61789e7a7c3700e0f50d
github.com/petergoldstein/dalli/releases/tag/v3.2.3
Show 8 moreShow less
github.com/advisories/GHSA-3xg8-cc8f-9wv2
nvd.nist.gov/vuln/detail/CVE-2022-4064
github.com/rubysec/ruby-advisory-db/blob/master/gems/dalli/CVE-2022-4064.yml
github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4064.json
github.com/petergoldstein/dalli
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1002
ubuntu.com/security/CVE-2022-4064
cve.org/CVERecord?id=CVE-2022-4064
Left out here: 22 versions. The JSON record has them.