-
Notifications
You must be signed in to change notification settings - Fork 897
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
GODRIVER-2446 Update Fixable Dep Vulnerabilities, Identify Un-Fixable Dep Vulnerabilities #1005
Changes from 6 commits
1e62796
2f2f8e4
d438d36
ad50110
e6846f4
16bd0bd
c204043
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,11 @@ retract ( | |
[v1.6.0, v1.6.1] // Contains data race bug in background connection establishment. | ||
) | ||
|
||
// gopkg.in/yaml.v3@v3.0.0-20200313102051-9f266ea9e77c introduced through github.com/stretchr/testify@v1.6.1 are | ||
// vulnerable to Denial of Service (DoS) via the Unmarshal function, which causes the program to crash when attempting | ||
// to deserialize invalid input. https://www.cve.org/CVERecord?id=CVE-2022-28948 | ||
replace gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c => gopkg.in/yaml.v3 v3.0.1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @matthewdale as you've noted, updating to a version of testify that resolves CVE-2022-28948 is not something we can do without breaking support for Go v10. Using replace updates the vulnerable yaml.v3 version to 3.0.1, which removes it from go.sum. However, the testify package still points to
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that's fine. The only version of gopkg.in/yaml.v3 in |
||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/go-stack/stack v1.8.0 | ||
|
@@ -18,15 +23,11 @@ require ( | |
github.com/pkg/errors v0.9.1 | ||
github.com/stretchr/testify v1.6.1 | ||
github.com/tidwall/pretty v1.0.0 | ||
github.com/xdg-go/scram v1.0.2 | ||
github.com/xdg-go/stringprep v1.0.2 | ||
github.com/xdg-go/scram v1.1.1 | ||
github.com/xdg-go/stringprep v1.0.3 | ||
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d | ||
golang.org/x/crypto v0.0.0-20201216223049-8b5274cf687f | ||
|
||
// This indirect dependency resolve 'uncontrolled memory consumption in the header | ||
// canonicalization cache' https://github.com/advisories/GHSA-vc3p-29h2-gpcp . | ||
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e // indirect | ||
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e | ||
golang.org/x/tools v0.0.0-20190531172133-b3315ee88b7d | ||
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d | ||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c | ||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.