github-commenter
github-commenter copied to clipboard
Go Prisma Medium Severity Vulnerability
Describe the Bug
github commenter has high vulnerability associated with golang.org/x/crypto version v0.0.0-20190308221718-c2843e01d9a2. Please see attachment.
@joroddy thanks for checking this and opening the issue.
Looks like golang.org/x/crypto version v0.0.0-20190308221718-c2843e01d9a2
is the latest version of the lib (as shown below, downloaded by go mod tidy
. We will keep an eye on this and update once a new version is released.
go 1.19
require (
github.com/Masterminds/sprig v2.22.0+incompatible
github.com/google/go-github/v34 v34.0.0
github.com/pkg/errors v0.9.1
golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b
)
require (
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver v1.5.0 // indirect
github.com/google/go-querystring v1.0.0 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/huandu/xstrings v1.3.2 // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/stretchr/testify v1.8.0 // indirect
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Looks like golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 is indirect dependency of github.com/google/go-github/v34 . After upgrading to github.com/google/go-github/v47 , I reran go mod tidy
, the crypto package is updated to latest.
Added https://github.com/cloudposse/github-commenter/pull/52 to fix the same