What’s Vulnerable › Vulnerabilities
CVE-2022-4952: OmniSharp csharp-language-server-protocol JSON Serializer SerializerBase.cs CreateSerializerSettings resource consumption
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-07-17 · updated 2026-06-17
- Weakness: CWE-400
Description
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.
Affected products
- OmniSharp csharp-language-server-protocol: before 0.19.7 — fixed in 0.19.7
How to fix
Upgrade to a fixed version: OmniSharp csharp-language-server-protocol 0.19.7. Check the vendor advisory for mitigations.
References
- https://github.com/OmniSharp/csharp-language-server-protocol/commit/7fd2219f194a9ef2a8901bb131c5fa12272305ce
- https://github.com/OmniSharp/csharp-language-server-protocol/pull/902
- https://github.com/OmniSharp/csharp-language-server-protocol/releases/tag/v0.19.7
- https://vuldb.com/?ctiid.234238
- https://vuldb.com/?id.234238
- https://github.com/OmniSharp/csharp-language-server-protocol/commit/7fd2219f194a9ef2a8901bb131c5fa12272305ce
- https://github.com/OmniSharp/csharp-language-server-protocol/pull/902
- https://github.com/OmniSharp/csharp-language-server-protocol/releases/tag/v0.19.7
- https://vuldb.com/?ctiid.234238
- https://vuldb.com/?id.234238
Get alerted when CVE-2022-4952 or the next vulnerability affects your stack