CVE-2022-4952 json
OmniSharp csharp-language-server-protocol JSON Serializer SerializerBase.cs CreateSerializerSettings resource consumption
published 2023-07-17 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-52205
- cvss
- 3.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
A vulnerability has been found in OmniSharp csharp-language-server-protocol up to 0.19.6 and classified as problematic. This vulnerability affects the function CreateSerializerSettings of the file src/JsonRpc/Serialization/SerializerBase.cs of the component JSON Serializer. The manipulation leads to resource consumption. Upgrading to version 0.19.7 is able to address this issue. The patch is identified as 7fd2219f194a9ef2a8901bb131c5fa12272305ce. It is recommended to upgrade the affected component. VDB-234238 is the identifier assigned to this vulnerability.
Patch / fix
- dotnetfoundation c#_language_server_protocol 0.19.7
Exploit prediction
0.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| CNA | 3.0 | 3.5 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| CNA | 2.0 | 2.7 | AV:A/AC:L/Au:S/C:N/I:N/A:P |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- OmniSharp csharp-language-server-protocol
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/OmniSharp/csharp-language-server-protocol/pull/902
issue-tracking, patch
-
github.com
/OmniSharp/csharp-language-server-protocol/commit/7fd2219f194a9ef2a8901bb131c5fa12272305ce
patch
-
github.com
/OmniSharp/csharp-language-server-protocol/releases/tag/v0.19.7
patch, release-notes
-
vuldb.com
/?id.234238
vdb-entry, technical-description, third-party-advisory
-
vuldb.com
/?ctiid.234238
signature, permissions-required
Sources
- CVE List CVE-2022-4952
- NVD CVE-2022-4952
Fencer Vulns 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.