-
Notifications
You must be signed in to change notification settings - Fork 638
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
gopkg.in/yaml.v2 Denial of Service (DoS) [nerdctl is NOT affected by this CVE] #1135
Conversation
66f7af5
to
89b5b8f
Compare
@@ -170,6 +170,7 @@ require ( | |||
google.golang.org/grpc v1.47.0 // indirect | |||
google.golang.org/protobuf v1.28.0 // indirect | |||
gopkg.in/square/go-jose.v2 v2.5.1 // indirect | |||
gopkg.in/yaml.v2 v2.4.0 // indirect |
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.
compose-go needs to be fixed too
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.
@AkihiroSuda compose-spec/compose-go#153 is still Draft, can we merge this before compose-go ?
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.
Yes
I don't think the CVE affects us. We don't launch a server that accepts YAML from an untrusted source. |
Agree but it is always good to upgrade to non-vulnerable version to avoid scanner noise. It looks like we should point to this fork https://github.com/compose-spec/compose-go/pull/153/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R24 as compose is doing. |
2b01bbf
to
89b5b8f
Compare
Needs rebase |
62ef1b6
to
bd6a7af
Compare
go.mod
Outdated
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f | ||
golang.org/x/crypto v0.0.0-20220513210258-46612604a0f9 | ||
golang.org/x/net v0.0.0-20220516133312-45b265872317 | ||
golang.org/x/sync v0.0.0-20220513210516-0976fa681c29 |
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.
Why rollback?
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.
Sorry it was a rebase issue!
3805ee2
to
af9d72b
Compare
Signed-off-by: Fahed DORGAA <fahed.dorgaa@gmail.com>
af9d72b
to
81095fb
Compare
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.
Thanks
gopkg.in/yaml.v2 has vulnerability https://nvd.nist.gov/vuln/detail/CVE-2019-11254.
need to upgrade gopkg.in/yaml.v2 to version 2.2.8 or higher.
Signed-off-by: Fahed DORGAA fahed.dorgaa@gmail.com