-
Notifications
You must be signed in to change notification settings - Fork 91
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
Update to Snakeyaml 2.2 #662
Conversation
5eb9e31
to
6897604
Compare
Kudos, SonarCloud Quality Gate passed! |
@@ -23,7 +24,7 @@ | |||
* Usually this is called with | |||
* <a href="https://github.com/apache/felix-dev/tree/master/configadmin-plugins/interpolation">Felix Configadmin Interpolation Plugin</a>. | |||
* | |||
* @see <a href="https://bitbucket.org/asomov/snakeyaml/wiki/Variable%20substitution">Variable substitution</a> | |||
* @see <a href="https://bitbucket.org/snakeyaml/snakeyaml/wiki/Variable%20substitution">Variable substitution</a> |
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.
should extend SafeConstructor
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.
If I read https://snyk.io/blog/snakeyaml-unsafe-deserialization-vulnerability/ correctly, we should really be safe by just using snakeyaml-2.0 because by default the class deserialization is not active anymore and we are not using this features anywhere.
dcc0d86
to
6897604
Compare
73ae011
to
c9193de
Compare
8e5249c
to
6a43113
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs 100.0% Coverage The version of Java (11.0.20.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
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.
I have tested with the updated snakeyaml version 2.2 and it seems there is really no problem. Class deserialisation we didn't use, and that is the only thing that is by default different in v2.x IIUC.
This closes #660