Karate: Update snakeyaml version to fix CVE-2017-18640

Created on 21 Sep 2020  路  7Comments  路  Source: intuit/karate

Hello,

This morning I found that the OSS Sonatype index maven plugin is failing the build of any project using karate because of CVE-2017-18640. This issue exists in snakeyaml 1.24 (the version currently used). A ticket was opened in the SnakeYAML repo and it got fixed in 1.26.

To solve this issue I suggest upgrading to 1.27, which is the latest version and doesn't seem to include any breaking changes.

Thanks!

codequality fixed

Most helpful comment

@DeGuitard no worries. we'll keep this open until a formal release version (just our process, reopening)

All 7 comments

@DeGuitard done thanks, release 1.0 may be a few months out but we should be able to get a 0.9.7.RC1 in a week or two

That was fast, thanks a lot :)

@DeGuitard no worries. we'll keep this open until a formal release version (just our process, reopening)

Anyone aware of testing using snakeyaml 1.27 with karate 0.9.5? Any issues discovered if so? Thanks

@hoby1cat8 as far as I know there are no issues. the problem reported here is if any extra security checks are being run as part of a build

OK thanks @ptrthomas . We came across this via security scan so planning our update/testing path to resolve. Since you're going to 1.26 of snakeyaml in Karate 1.0.0 we may update/test only version 1.26 of snakeyaml with 0.9.5.

@hoby1cat8 ah. thanks for the reminder, I just did a sweep of the project and upgraded all the dependencies I could. so karate 1.0 will use snakeyaml 1.27

Was this page helpful?
0 / 5 - 0 ratings