Skip to content

Commit 27ed67b

Browse files
author
mullas
committed
Bump labstack dep with CVEs: Dependency go:github.com/labstack/echo:v3.3.10+incompatible is vulnerable https://devhub.checkmarx.com/cve-details/CVE-2022-40083
1 parent 95b4fb8 commit 27ed67b

File tree

5 files changed

+137
-103
lines changed

5 files changed

+137
-103
lines changed

echo_router_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
//go:build echo && !gingonic && !gorillamux
2-
// +build echo,!gingonic,!gorillamux
1+
//go:build echo && gingonic && gorillamux
2+
// +build echo,gingonic,gorillamux
33

44
package api2go
55

66
import (
77
"log"
88
"net/http"
99

10-
"github.com/labstack/echo"
10+
"github.com/labstack/echo/v4"
1111
"github.com/manyminds/api2go/routing"
1212
)
1313

go.mod

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,11 @@ go 1.14
44

55
require (
66
github.com/gedex/inflector v0.0.0-20170307190818-16278e9db813
7-
github.com/gin-gonic/gin v1.6.2
7+
github.com/gin-gonic/gin v1.10.0
88
github.com/gorilla/mux v1.7.4
99
github.com/julienschmidt/httprouter v1.3.0
10-
github.com/labstack/echo v3.3.10+incompatible
11-
github.com/labstack/gommon v0.3.0 // indirect
12-
github.com/mattn/goveralls v0.0.11 // indirect
13-
github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5 // indirect
10+
github.com/labstack/echo/v4 v4.12.0
1411
github.com/onsi/ginkgo v1.16.5
1512
github.com/onsi/gomega v1.10.1
16-
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
17-
golang.org/x/mod v0.5.1 // indirect
18-
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d // indirect
19-
golang.org/x/tools v0.1.7 // indirect
2013
gopkg.in/guregu/null.v3 v3.4.0
2114
)

0 commit comments

Comments
 (0)