Skip to content

[Branch-4.16] Downgrade grpc and protobuf to avoid introducing breaking change#4001

Merged
zymap merged 2 commits into
apache:branch-4.16from
zymap:downgrade-grpc-version
Jun 26, 2023
Merged

[Branch-4.16] Downgrade grpc and protobuf to avoid introducing breaking change#4001
zymap merged 2 commits into
apache:branch-4.16from
zymap:downgrade-grpc-version

Conversation

@zymap

@zymap zymap commented Jun 25, 2023

Copy link
Copy Markdown
Member

Motivation

We upgrade grpc and protobuf to address CVE-2023-32732. But it requires the protobuf 3.22+. In protobuf 3.22.0, it introduces a breaking change. It requires all the sub-project, which depend on the bookkeeper to upgrade protobuf to 3.22.0+. It should not be acceptable in a minor release.

So we use a lower version of grpc and protobuf to address the CVE issue.

See more context: #3997

---

### Motivation

We upgrade grpc and protobuf to address CVE-2023-32732.
But it requires the protobuf 3.22+. In protobuf 3.22.0,
it introduces a breaking change. It require all the
sub-project, which depends on the bookkeeper to upgrade
protobuf to 3.22.0+. It should not be acceptable in a minor
release.

So we use a lower version of grpc and protobuf to address
the CVE issue.

See more context: apache#3997
@zymap
zymap requested review from eolivelli and hangc0276 June 25, 2023 08:33
@zymap zymap self-assigned this Jun 25, 2023
@zymap

zymap commented Jun 25, 2023

Copy link
Copy Markdown
Member Author

@lhotari PTAL, thanks

@zymap zymap changed the title Downgrade gprc to 1.54.1 Downgrade grpc and protobuf to avoid introducing breaking change Jun 25, 2023

@hangc0276 hangc0276 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good job!

@zymap

zymap commented Jun 25, 2023

Copy link
Copy Markdown
Member Author

protocolbuffers/protobuf#11393 Another compatible issue with jdk8, I need to downgrade the protobuf to 3.21.9.
They have fixed but not released protocolbuffers/protobuf#12036

@hangc0276

Copy link
Copy Markdown
Contributor

LGTM

@hangc0276 hangc0276 changed the title Downgrade grpc and protobuf to avoid introducing breaking change [Branch-4.16] Downgrade grpc and protobuf to avoid introducing breaking change Jun 25, 2023
@zymap
zymap merged commit 9f63cf7 into apache:branch-4.16 Jun 26, 2023
zymap added a commit that referenced this pull request Dec 7, 2023
…ng change (#4001)

* Downgrade grpc to 1.54.1
---

### Motivation

We upgrade grpc and protobuf to address CVE-2023-32732.
But it requires the protobuf 3.22+. In protobuf 3.22.0,
it introduces a breaking change. It require all the
sub-project, which depends on the bookkeeper to upgrade
protobuf to 3.22.0+. It should not be acceptable in a minor
release.

So we use a lower version of grpc and protobuf to address
the CVE issue.

See more context: #3997

(cherry picked from commit 9f63cf7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants