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

Upgrade snakeyaml from 1.33 to 2.0 fixing CVE-2022-1471 #2266

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

julianladisch
Copy link
Contributor

Snakeyaml 2.0 has a fix for the CVE-2022-1471 Arbitrary Code Execution vulnerability:
https://nvd.nist.gov/vuln/detail/CVE-2022-1471
https://bitbucket.org/snakeyaml/snakeyaml/wiki/Changes

Karate is not affected by this vulnerability, but other code might be so that Karate should be compatible with Snakeyaml 2.0 and by default should ship with Snakeyaml 2.0.

The JsonUtils code change is required for 2.0 but also works in 1.33 so that projects that use latest Karate may manually downgrade Snakeyaml from 2.0 to 1.33 if needed.

Description

Snakeyaml 2.0 has a fix for this Arbitrary Code Execution vulnerability:
https://nvd.nist.gov/vuln/detail/CVE-2022-1471

Karate is not affected by this vulnerability, but other code might be
so that Karate should be compatible with Snakeyaml 2.0 and by default
ships with Snakeyaml 2.0.

The JsonUtils code change is required for 2.0 but also works in 1.33
so that projects that use latest Karate may manually downgrade Snakeyaml
from 2.0 to 1.33 if needed.
@ptrthomas ptrthomas merged commit 2faa705 into karatelabs:develop Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants