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

ARROW-16759: [Go] backport gopkg.in/yaml.v3 security patch to v7 #13587

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

dominicbarnes
Copy link
Contributor

This PR is a backport of #13322 for v7.

…aml.v3 (v7)

This PR updates the github.com/stretchr/testify dependency to get a security patch for gopkg.in/yaml.v3 which has a DoS exploit. See stretchr/testify#1192 for more details.

I'm unsure how this project handles security patches for appears to be older versions. I'm here because I have dependencies that rely on v7, so that's what is bringing me here to make this very particular change. It looks like v6.0.0 and v6.0.1 tags exist, so I expect merging this here and tagging v7.0.1 would be the path forward. If not, let me know what would be preferred.

The linked Jira issue also calls out v8.0.0 as having the same vulnerability, but that would need to be addressed in it's own PR.

Closes apache#13322 from dominicbarnes/go-security-patch-testify

Authored-by: Dominic Barnes <dominic@dbarnes.info>
Signed-off-by: Matthew Topol <mtopol@factset.com>
@dominicbarnes dominicbarnes changed the title ARROW-16759: [Go] backport gopkg.in/yaml.v3 security patch to v ARROW-16759: [Go] backport gopkg.in/yaml.v3 security patch to v67 Jul 12, 2022
@dominicbarnes dominicbarnes changed the title ARROW-16759: [Go] backport gopkg.in/yaml.v3 security patch to v67 ARROW-16759: [Go] backport gopkg.in/yaml.v3 security patch to v7 Jul 12, 2022
@github-actions
Copy link

@kou
Copy link
Member

kou commented Jul 13, 2022

Thanks.
There are CI failures fixed on master but I merge this and prepare a release with this.

@kou kou merged commit 7a322c9 into apache:maint-7.0.x Jul 13, 2022
@kou
Copy link
Member

kou commented Jul 14, 2022

@dominicbarnes Sorry... Could you also create a backport pull request for https://github.com/apache/arrow/tree/maint-7.0.1 ? I couldn't cherry-pick this commit to maint-7.0.1...

kou pushed a commit that referenced this pull request Jul 14, 2022
…13606)

This PR is a backport of #13322 for v7.0.1 as a follow-up to #13587

cc @kou 

Authored-by: Dominic Barnes <dominic@dbarnes.info>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants