Skip to content

Commit def5109

Browse files
authored
deps: resolves EG false positive CVEs issue (envoyproxy#1445)
**Description** This pins the EG to the "correct" version that doesn't cause false positive CVEs. **Related Issues/PRs (if applicable)** Reference: envoyproxy/gateway#7248 Closes: envoyproxy#1412 --------- Signed-off-by: Takeshi Yoneda <[email protected]>
1 parent 4baa266 commit def5109

File tree

6 files changed

+287
-31
lines changed

6 files changed

+287
-31
lines changed

.trivyignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

cmd/aigw/run.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,7 @@ func run(ctx context.Context, c cmdRun, o *runOpts, stdout, stderr io.Writer) er
8989
start := time.Now()
9090

9191
// First, we need to create the self-signed certificates used for communication between the EG and Envoy.
92-
// Certificates will be placed at /tmp/envoy-gateway/certs, which is currently is not configurable:
93-
// https://github.com/envoyproxy/gateway/blob/779c0a6bbdf7dacbf25a730140a112f99c239f0e/internal/infrastructure/host/infra.go#L22-L23
94-
//
95-
// TODO: Override Envoy Gateway cert directory to use $AIGW_RUNTIME_DIR once possible via
96-
// https://github.com/envoyproxy/gateway/pull/7225
92+
// Certificates will be placed at ~/.config/envoy-gateway/certs, which is the default location used by Envoy Gateway.
9793
certGenOut := &bytes.Buffer{}
9894
certGen := root.GetRootCommand()
9995
certGen.SetOut(certGenOut)

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ require (
1818
github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443
1919
github.com/coreos/go-oidc/v3 v3.16.0
2020
github.com/docker/docker v28.5.1+incompatible
21-
github.com/envoyproxy/gateway v0.5.0-rc.1.0.20251020052851-16aa8100498d
21+
github.com/envoyproxy/gateway v1.6.0-rc.0.0.20251028174200-282c916a47e1
2222
github.com/envoyproxy/go-control-plane v0.13.5-0.20250929230642-07d3df27ff4f
2323
github.com/envoyproxy/go-control-plane/envoy v1.35.1-0.20250929230642-07d3df27ff4f
2424
github.com/go-logr/logr v1.4.3
@@ -171,7 +171,7 @@ require (
171171
github.com/josharian/intern v1.0.0 // indirect
172172
github.com/json-iterator/go v1.1.12 // indirect
173173
github.com/kelseyhightower/envconfig v1.4.0 // indirect
174-
github.com/klauspost/compress v1.18.0 // indirect
174+
github.com/klauspost/compress v1.18.1 // indirect
175175
github.com/kylelemons/godebug v1.1.0 // indirect
176176
github.com/lufia/plan9stats v0.0.0-20251013123823-9fd1530e3ec3 // indirect
177177
github.com/lyft/gostats v0.4.1 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ github.com/ebitengine/purego v0.9.0 h1:mh0zpKBIXDceC63hpvPuGLiJ8ZAa3DfrFTudmfi8A
146146
github.com/ebitengine/purego v0.9.0/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=
147147
github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bFY/oTyCes=
148148
github.com/emicklei/go-restful/v3 v3.13.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
149-
github.com/envoyproxy/gateway v0.5.0-rc.1.0.20251020052851-16aa8100498d h1:DQBoUq5J+jR4HUS5QENkbguHWd6T7FjSF2rNuolxwB0=
150-
github.com/envoyproxy/gateway v0.5.0-rc.1.0.20251020052851-16aa8100498d/go.mod h1:p0y6QylqVCZUXR7Z/B4ykUV5/zGau0wFOznzKjR+Xpg=
149+
github.com/envoyproxy/gateway v1.6.0-rc.0.0.20251028174200-282c916a47e1 h1:dURO/Y340xX2sek0N+FZVbZsKc7WMfMbgKfRjQIJqWw=
150+
github.com/envoyproxy/gateway v1.6.0-rc.0.0.20251028174200-282c916a47e1/go.mod h1:Jgft9B/Jjd1JDFwadtCav/auMLW1ocQ1lLuj/AkyNyY=
151151
github.com/envoyproxy/go-control-plane v0.13.5-0.20250929230642-07d3df27ff4f h1:36vvJBe/wXWfD7qrTb1WnbPVPMxNFDfEygztH8wgebw=
152152
github.com/envoyproxy/go-control-plane v0.13.5-0.20250929230642-07d3df27ff4f/go.mod h1:PTY7yDlLxB4bW7rEOO7e79uTDr9yXzpuI1QGIDfxEzc=
153153
github.com/envoyproxy/go-control-plane/contrib v1.32.5-0.20250430092421-68a532e11403 h1:5wPocL1bGYhA4TtKZwcdVI5fsXo1JatkbcxPBcFQswc=
@@ -291,8 +291,8 @@ github.com/keybase/go-keychain v0.0.1 h1:way+bWYa6lDppZoZcgMbYsvC7GxljxrskdNInRt
291291
github.com/keybase/go-keychain v0.0.1/go.mod h1:PdEILRW3i9D8JcdM+FmY6RwkHGnhHxXwkPPMeUgOK1k=
292292
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
293293
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
294-
github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo=
295-
github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ=
294+
github.com/klauspost/compress v1.18.1 h1:bcSGx7UbpBqMChDtsF28Lw6v/G94LPrrbMbdC3JH2co=
295+
github.com/klauspost/compress v1.18.1/go.mod h1:ZQFFVG+MdnR0P+l6wpXgIL4NTtwiKIdBnrBd8Nrxr+0=
296296
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
297297
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
298298
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=

0 commit comments

Comments
 (0)