Upgrade jackson-databind to 2.12.7#14770
Merged
abhishekagarwal87 merged 5 commits intoapache:masterfrom Aug 9, 2023
Merged
Conversation
| } else if (m instanceof AnnotatedMethod) { | ||
| genericType = ((AnnotatedMethod) m).getAnnotated().getGenericReturnType(); | ||
| } else if (m instanceof AnnotatedParameter) { | ||
| genericType = ((AnnotatedParameter) m).getOwner().getGenericParameterType(((AnnotatedParameter) m).getIndex()); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation
Contributor
|
FYI anyone reading this PR, we cannot upgrade to a version beyond 2.12 because of this change FasterXML/jackson-jaxrs-providers#134 |
3 tasks
abhishekagarwal87
approved these changes
Aug 9, 2023
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current version of
jackson-databindis flagged for vulnerabilities CVE-2020-28491 (Although cbor format is not used in druid), CVE-2020-36518 (Seems genuine as deeply nested json in can cause resource exhaustion). Updating the dependency to the latest version 2.12.7 to fix these vulnerabilities.Now that Hadoop2 is being removed, this upgrade is deemed to be safely made.