CVE-2022-4952
What it is
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.
At a glance
- Exploitability
- Can be exploited from the same network segment with a low-privilege account. Limited direct impact.
- Exploit odds
- 0.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.9% in the next 30 days (EPSS).
- Severity: 3.5 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-400 · Uncontrolled resource consumption
- Record status
- Modified
Affected
- Dotnetfoundation c\# Language Server Protocol < 0.19.7
Attack profile CVSS 3.1 · 3.5
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Raw vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-4952.md and follow it. Check whether this project is affected by CVE-2022-4952. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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://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
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