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

Fix CVE-2024-51417 #870

Merged
merged 8 commits into from
Jan 23, 2025
Merged

Fix CVE-2024-51417 #870

merged 8 commits into from
Jan 23, 2025

Conversation

StefH
Copy link
Collaborator

@StefH StefH commented Jan 22, 2025

  • remove 'object' from PredefinedTypes
  • refactor DefaultDynamicLinqCustomTypeProvider so that only classes with DynamicLinqType annotation are resolved

- remove 'object' from PredefinedTypes
- refactor DefaultDynamicLinqCustomTypeProvider so that only classes with DynamicLinqType annotation are resolved
@StefH StefH added the bug label Jan 22, 2025
@StefH StefH self-assigned this Jan 22, 2025
@StefH StefH marked this pull request as ready for review January 23, 2025 16:16
@StefH StefH merged commit 49b6cf0 into master Jan 23, 2025
3 of 4 checks passed
@StefH StefH deleted the bug/867 branch January 23, 2025 16:22
@mhubis
Copy link

mhubis commented Feb 11, 2025

ResolveTypeBySimpleName's call to FindTypesMarkedWithDynamicLinqTypeAttribute is missing the union with AdditionalTypes. ResolveType makes the same call to FindTypesMarkedWithDynamicLinqTypeAttribute but does union with AdditionalTypes.

Can this be fixed?

@StefH
Copy link
Collaborator Author

StefH commented Feb 11, 2025

ResolveTypeBySimpleName's call to FindTypesMarkedWithDynamicLinqTypeAttribute is missing the union with AdditionalTypes. ResolveType makes the same call to FindTypesMarkedWithDynamicLinqTypeAttribute but does union with AdditionalTypes.

Can this be fixed?

Good point. I'm fixing it with: #896

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants