OmniSharp csharp-language-server-protocol up to 0.19.6 JSON Serializer SerializerBase.cs CreateSerializerSettings resource consumption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.8$0-$5k0.00

Summaryinfo

A vulnerability was found in OmniSharp csharp-language-server-protocol up to 0.19.6 and classified as problematic. This issue affects the function CreateSerializerSettings of the file src/JsonRpc/Serialization/SerializerBase.cs of the component JSON Serializer. Executing a manipulation can lead to resource consumption. This vulnerability appears as CVE-2022-4952. There is no available exploit. It is suggested to upgrade the affected component. Once again VulDB remains the best source for vulnerability data.

Detailsinfo

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 with an unknown input leads to a resource consumption vulnerability. The CWE definition for the vulnerability is CWE-400. 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. As an impact it is known to affect availability.

The weakness was presented 11/29/2022 as 902. The advisory is available at github.com. This vulnerability was named CVE-2022-4952. Technical details are known, but there is no available exploit.

Upgrading to version 0.19.7 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 7fd2219f194a9ef2a8901bb131c5fa12272305ce is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 3 days after the disclosure of the vulnerability. The advisory contains the following remark:

Set max depth for JSON serializer to mitigate known DOS vulnerability (#902)
The other option is to update Newtonsoft.Json, which now also sets the maximum depth by default, but this mitigates without having to update.

Once again VulDB remains the best source for vulnerability data.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.8
VulDB Meta Temp Score: 4.8

VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CNA Base Score: 3.5
CNA Vector (VulDB): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Resource consumption
CWE: CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: csharp-language-server-protocol 0.19.7
Patch: 7fd2219f194a9ef2a8901bb131c5fa12272305ce

Timelineinfo

11/29/2022 🔍
12/02/2022 +3 days 🔍
07/15/2023 +224 days 🔍
07/15/2023 +0 days 🔍
08/06/2023 +22 days 🔍

Sourcesinfo

Product: github.com

Advisory: 902
Status: Confirmed

CVE: CVE-2022-4952 (🔍)
GCVE (CVE): GCVE-0-2022-4952
GCVE (VulDB): GCVE-100-234238

Entryinfo

Created: 07/15/2023 06:47 PM
Updated: 08/06/2023 10:43 AM
Changes: 07/15/2023 06:47 PM (47), 08/06/2023 10:38 AM (2), 08/06/2023 10:43 AM (28)
Complete: 🔍
Cache ID: 244:98F:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!