Vulnerability Details : CVE-2022-4952
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.
Products affected by CVE-2022-4952
- cpe:2.3:a:dotnetfoundation:c\#_language_server_protocol:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-4952
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 50 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-4952
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
2.7
|
LOW | AV:A/AC:L/Au:S/C:N/I:N/A:P |
5.1
|
2.9
|
VulDB | |
3.5
|
LOW | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
2.1
|
1.4
|
VulDB | |
3.5
|
LOW | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
2.1
|
1.4
|
VulDB | 2024-02-29 |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2022-4952
-
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.Assigned by: cna@vuldb.com (Secondary)
References for CVE-2022-4952
-
https://github.com/OmniSharp/csharp-language-server-protocol/releases/tag/v0.19.7
Release v0.19.7 · OmniSharp/csharp-language-server-protocol · GitHubRelease Notes
-
https://vuldb.com/?ctiid.234238
Permissions Required
-
https://github.com/OmniSharp/csharp-language-server-protocol/commit/7fd2219f194a9ef2a8901bb131c5fa12272305ce
Set max depth for JSON serializer to mitigate known DOS vulnerability… · OmniSharp/csharp-language-server-protocol@7fd2219 · GitHubPatch
-
https://github.com/OmniSharp/csharp-language-server-protocol/pull/902
Set max depth for JSON serializer to mitigate known DOS vulnerability by andschwa · Pull Request #902 · OmniSharp/csharp-language-server-protocol · GitHubPatch
-
https://vuldb.com/?id.234238
CVE-2022-4952: OmniSharp csharp-language-server-protocol JSON Serializer SerializerBase.cs CreateSerializerSettings resource consumption (ID 902)Third Party Advisory
Jump to