-
Notifications
You must be signed in to change notification settings - Fork 37
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-2022-42003 and CVE-2022-42004 #726
Conversation
408d8b9
to
14bae1f
Compare
@@ -142,7 +142,7 @@ task integrationTestCosmos(type: Test) { | |||
systemProperties(System.getProperties()) | |||
} | |||
maxParallelForks = 3 | |||
jvmArgs '-XX:MaxDirectMemorySize=2g' | |||
jvmArgs '-XX:MaxDirectMemorySize=2g', '-Xmx4g' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OOME occurred in the Cosmos Integration test after this change. So increased the heap size.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
This PR fixes CVE-2022-42003 and CVE-2022-42004 by upgrading the Azure Cosmos client. Please take a look!