Fixed multiple potential vulnerabilites in go-git.v4

This commit is contained in:
Frikky
2025-03-21 12:26:22 +01:00
parent 8b4f8a14c8
commit bc936ab137
4 changed files with 9 additions and 35 deletions
+5 -3
View File
@@ -31,12 +31,13 @@ import (
"github.com/frikky/kin-openapi/openapi2conv"
"github.com/frikky/kin-openapi/openapi3"
//"github.com/go-git/go-billy/v5"
"github.com/go-git/go-billy/v5/memfs"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing"
gitProxy "github.com/go-git/go-git/v5/plumbing/transport"
"github.com/go-git/go-git/v5/storage/memory"
gitProxy "github.com/go-git/go-git/v5/plumbing/transport"
http2 "github.com/go-git/go-git/v5/plumbing/transport/http"
// Random
xj "github.com/basgys/goxml2json"
@@ -46,7 +47,8 @@ import (
// Web
"github.com/gorilla/mux"
http2 "gopkg.in/src-d/go-git.v4/plumbing/transport/http"
//http2 "gopkg.in/src-d/go-git.v5/plumbing/transport/http"
//http2 "github.com/go-git/go-git/plumbing/transport/http"
)
// This is used to handle onprem vs offprem databases etc