Skip to content

bump google.golang.org/grpc v1.23.0 (CVE-2019-9512, CVE-2019-9514, CVE-2019-9515)#3581

Merged
fuweid merged 2 commits intocontainerd:masterfrom
thaJeztah:bump_grpc
Aug 27, 2019
Merged

bump google.golang.org/grpc v1.23.0 (CVE-2019-9512, CVE-2019-9514, CVE-2019-9515)#3581
fuweid merged 2 commits intocontainerd:masterfrom
thaJeztah:bump_grpc

Conversation

@thaJeztah
Copy link
Member

full diff: grpc/grpc-go@v1.20.1...v1.23.0

This update contains security fixes:

Other changes can be found in the release notes:
https://github.com/grpc/grpc-go/releases/tag/v1.23.0

@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 26, 2019

Build succeeded.

@thaJeztah
Copy link
Member Author

thaJeztah commented Aug 26, 2019

Fails with TRAVIS_CGO_ENABLED=1 😞

INFO[0000] start to pull seed image                     
1400--- FAIL: TestClientTTRPC_Reconnect (0.00s)
1401    client_ttrpc_test.go:56: assertion failed: error is not nil: no status provided on response
1402--- FAIL: TestCheckpointRestorePTY (0.65s)
1403    container_checkpoint_test.go:84: no status provided on response: unknown
1404--- FAIL: TestCheckpointRestore (0.22s)
1405    container_checkpoint_test.go:199: no status provided on response: unknown
1406--- FAIL: TestCheckpointRestoreNewContainer (0.23s)
1407    container_checkpoint_test.go:287: no status provided on response: unknown
1408--- FAIL: TestCheckpointLeaveRunning (0.20s)
1409    container_checkpoint_test.go:379: no status provided on response: unknown

(and many more similar failures)

Error is coming from ttrpc;

if cresp.Status == nil {
return errors.New("no status provided on response")
}

@thaJeztah
Copy link
Member Author

thaJeztah commented Aug 26, 2019

Possible suspects;

First one looks to be the most plausible cause (at a quick glance)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick hack to see if it's indeed in situations where there was no error (thus status being nil)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, booh; I think CI overwrites local changes in the vendor step, because I still get the same error

INFO[0000] start to pull seed image                     
1404--- FAIL: TestClientTTRPC_Reconnect (0.00s)
1405    client_ttrpc_test.go:56: assertion failed: error is not nil: no status provided on response

@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 26, 2019

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 26, 2019

Build succeeded.

@thaJeztah thaJeztah changed the title bump google.golang.org/grpc v1.23.0 (CVE-2019-9512, CVE-2019-9514, CVE-2019-9515) [WIP] bump google.golang.org/grpc v1.23.0 (CVE-2019-9512, CVE-2019-9514, CVE-2019-9515) Aug 26, 2019
@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 26, 2019

Build succeeded.

@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 26, 2019

Build succeeded.

@codecov-io
Copy link

codecov-io commented Aug 26, 2019

Codecov Report

Merging #3581 into master will decrease coverage by 5.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3581      +/-   ##
==========================================
- Coverage   42.26%   37.23%   -5.04%     
==========================================
  Files         126       84      -42     
  Lines       13881    11564    -2317     
==========================================
- Hits         5867     4306    -1561     
+ Misses       7128     6658     -470     
+ Partials      886      600     -286
Flag Coverage Δ
#linux ?
#windows 37.23% <ø> (ø) ⬆️
Impacted Files Coverage Δ
archive/tar_opts.go 11.76% <0%> (-47.06%) ⬇️
cio/io.go 1.4% <0%> (-45.08%) ⬇️
snapshots/native/native.go 1.79% <0%> (-41.26%) ⬇️
archive/tar.go 19.18% <0%> (-28.78%) ⬇️
metadata/snapshot.go 23.86% <0%> (-24.05%) ⬇️
content/local/writer.go 57.69% <0%> (-0.97%) ⬇️
gc/scheduler/scheduler.go 66.34% <0%> (-0.97%) ⬇️
oci/spec_opts.go 28.96% <0%> (-0.24%) ⬇️
mount/temp_unix.go
sys/reaper_linux.go
... and 40 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d618c80...2f54a7c. Read the comment docs.

full diff: grpc/grpc-go@v1.20.1...v1.23.0

This update contains security fixes:

- transport: block reading frames when too many transport control frames are queued (grpc/grpc-go#2970)
  - Addresses CVE-2019-9512 (Ping Flood), CVE-2019-9514 (Reset Flood), and CVE-2019-9515 (Settings Flood).

Other changes can be found in the release notes:
https://github.com/grpc/grpc-go/releases/tag/v1.23.0

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah changed the title [WIP] bump google.golang.org/grpc v1.23.0 (CVE-2019-9512, CVE-2019-9514, CVE-2019-9515) bump google.golang.org/grpc v1.23.0 (CVE-2019-9512, CVE-2019-9514, CVE-2019-9515) Aug 26, 2019
@thaJeztah
Copy link
Member Author

thaJeztah commented Aug 26, 2019

containerd/ttrpc#46 was merged; revendored, and removed "WIP" 🤞

@theopenlab-ci
Copy link

theopenlab-ci bot commented Aug 26, 2019

Build succeeded.

@crosbymichael
Copy link
Member

LGTM

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fuweid
Copy link
Member

fuweid commented Aug 27, 2019

@thaJeztah thanks!

@fuweid fuweid merged commit 32ceb62 into containerd:master Aug 27, 2019
@thaJeztah thaJeztah deleted the bump_grpc branch August 27, 2019 14:23
@estesp
Copy link
Member

estesp commented Aug 27, 2019

@yulianedyalkova see #3587 for release/1.2 plans; and of course 1.3.0 is coming soon as well.

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 this pull request may close these issues.

6 participants