Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixes for DoS vulnerabilities. #1207

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Various fixes for DoS vulnerabilities. #1207

merged 2 commits into from
Jun 26, 2024

Conversation

jandupej
Copy link
Contributor

The following changes are included:

  • Increased referenced Newtonsoft.Json version to 13.0.3 and fixed stack overflow when deserializing very deeply nested objects, in C#
  • Added recursion depth checks while deserializing in java, maximum depth can be set with DeserializerControls.setMaxDepth
  • Increased gbc version to 0.13.0.0
  • Added recursion depth checks while deserializing in C++, maximum depth can be set with bond::SetDeserializeMaxDepth
  • Increased minimum supported .NET Framework version to 4.6.2
  • Fixed handling of unknown BondDataType in Compact/FastBinaryReader.SkipType, in C++
  • Added recursion depth checks while deserializing in C#, depth can be set with DeserializerControls.MaxDepth and defaults to 64
  • Improved build instructions for C++, C#, Java

@jandupej jandupej self-assigned this Jun 26, 2024
@jandupej jandupej merged commit 4e93082 into master Jun 26, 2024
5 checks passed
@jandupej jandupej deleted the jandupej/dos-fixes branch June 26, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants