Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE embedded via testify@v1.4.0 -> gopkg.in/yaml.v2 dependencies #2020

Closed
3 tasks
cboitel opened this issue Nov 5, 2021 · 0 comments · Fixed by #2021
Closed
3 tasks

CVE embedded via testify@v1.4.0 -> gopkg.in/yaml.v2 dependencies #2020

cboitel opened this issue Nov 5, 2021 · 0 comments · Fixed by #2021

Comments

@cboitel
Copy link

cboitel commented Nov 5, 2021

Issue Description

echo has a dependency on gommon@v0.3.0 which embeds yaml.v2@v2.2.2 (see labstack/gommon#48) suffering a reported CVE.

As a consequence, security scanning performed on project using echo report the CVE. If gommon is updated, echo will require to update its depency to remove the CVE report

Checklist

  • Dependencies installed
  • No typos
  • Searched existing issues and docs

Expected behaviour

update

Actual behaviour

Steps to reproduce

Working code to debug

package main

import _ "github.com/labstack/echo"

func main() {
}
go mod init main

go mod tidy

go mod graph
## 
go mod graph | egrep "yaml.v2|testify"
main github.com/stretchr/testify@v1.7.0
github.com/labstack/gommon@v0.3.0 github.com/stretchr/testify@v1.4.0
github.com/stretchr/testify@v1.7.0 github.com/davecgh/go-spew@v1.1.0
github.com/stretchr/testify@v1.7.0 github.com/pmezard/go-difflib@v1.0.0
github.com/stretchr/testify@v1.7.0 github.com/stretchr/objx@v0.1.0
github.com/stretchr/testify@v1.7.0 gopkg.in/yaml.v3@v3.0.0-20200313102051-9f266ea9e77c
github.com/stretchr/testify@v1.4.0 github.com/davecgh/go-spew@v1.1.0
github.com/stretchr/testify@v1.4.0 github.com/pmezard/go-difflib@v1.0.0
github.com/stretchr/testify@v1.4.0 github.com/stretchr/objx@v0.1.0
github.com/stretchr/testify@v1.4.0 gopkg.in/yaml.v2@v2.2.2
gopkg.in/yaml.v2@v2.2.2 gopkg.in/check.v1@v0.0.0-20161208181325-20d25e280405

Version/commit

@aldas aldas changed the title CVE embedded via gommon/yaml dependencies CVE embedded via testify@v1.4.0 -> gopkg.in/yaml.v2 dependencies Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant