Service interruption via unbounded JSON nesting
Published Jul 17, 2023 · Updated Aug 3, 2024
Denial of service in OmniSharp C# Language Server Protocol 0.19.6 and earlier allows attackers to interrupt service via deeply nested JSON. CreateSerializerSettings used unconstrained default Json.NET settings when no global defaults existed, permitting excessive nesting to drive recursive resource use. The affected library must deserialize attacker-controlled JSON through a consuming language server or client, and the documented consequence is limited to availability.
Summary
What happened
Denial of service in OmniSharp C# Language Server Protocol 0.19.6 and earlier allows attackers to interrupt service via deeply nested JSON. CreateSerializerSettings used unconstrained default Json.NET settings when no global defaults existed, permitting excessive nesting to drive recursive resource use. The affected library must deserialize attacker-controlled JSON through a consuming language server or client, and the documented consequence is limited to availability.
The record
- CVE
- CVE-2022-4952
- Published
- Jul 17, 2023
- Updated
- Aug 3, 2024
- Vendor
- OmniSharp
- Product
- C# Language Server Protocol
- Classifications
- CWE-400, T1499
- Attack vector
- Unavailable
- Privileges
- Unavailable
Timeline
How it unfolded
- Jul 17, 2023CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.19.0
- Affected versionversion=0.19.1
- Affected versionversion=0.19.2
- Affected versionversion=0.19.3
- Affected versionversion=0.19.4
- Affected versionversion=0.19.5
- Affected versionversion=0.19.6
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo