Skip to content

Conversation

yuseok-kim-edushare
Copy link

@yuseok-kim-edushare yuseok-kim-edushare commented Feb 14, 2025

This PR created to Close #64


Summary

This PR addresses a high-severity security vulnerability (CVE-2024-21907/GHSA-5crp-9r3c-p9vr) in Newtonsoft.Json that could lead to Denial of Service attacks through excessively nested JSON payloads.

Changes

  • Added a recommended MaxDepth=128 limit to JsonSerializerSettings to prevent JSON deserialization attacks
  • Added CheckAdditionalContent=true for extra security validation
  • Updated assembly version from 2.3.6.1 to 2.3.6.2 to track this security fix

Security Impact

This change mitigates a Denial of Service vulnerability where maliciously crafted JSON with excessive nesting could cause:

  • High CPU and memory consumption
  • Thread exhaustion
  • Potential StackOverflowException

References

@yuseok-kim-edushare yuseok-kim-edushare changed the title Fix Security Issue, Depth limit required to keep secure Fix Security Issue: Implement JSON Deserialization Depth Limit (CVE-2024-21907) Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant