From bad826d9c545eb209425c991226c487b0093641d Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 25 Oct 2022 11:35:37 -0500 Subject: [PATCH] fix git getter --- get_git_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/get_git_test.go b/get_git_test.go index df6ad0390..d123bb5c5 100644 --- a/get_git_test.go +++ b/get_git_test.go @@ -624,6 +624,9 @@ func TestGitGetter_submodule(t *testing.T) { // Set up the grandchild gc := testGitRepo(t, "grandchild") + // Due to CVE-2022-39253 (https://github.blog/2022-10-18-git-security-vulnerabilities-announced/#cve-2022-39253) + // we are allowing file transport globally. + gc.git("config", "--global", "protocol.file.allow", "always") gc.commitFile("grandchild.txt", "grandchild") // Set up the child