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

upgrade google-protobuf due to potential denial of service issue #1247

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

wendelfabianchinsamy
Copy link
Contributor

Purpose

When parsing unknown fields in the Protobuf Java Lite and Full library, a maliciously crafted message can cause a StackOverflow error and lead to a program crash.

Reporter: Alexis Challande, Trail of Bits Ecosystem Security Team [email protected]

Affected versions: This issue affects all versions of both the Java full and lite Protobuf runtimes, as well as Protobuf for Kotlin and JRuby, which themselves use the Java Protobuf runtime.

closes: #1246

Approach

Open Questions and Pre-Merge TODOs

Learning

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Breaking change (fix or feature that would cause existing functionality to change)

Reviewer, please remember our guidelines:

  • Be humble in the language and feedback you give, ask don't tell.
  • Consider using positive language as opposed to neutral when offering feedback. This is to avoid the negative bias that can occur with neutral language appearing negative.
  • Offer suggestions on how to improve code e.g. simplification or expanding clarity.
  • Ensure you give reasons for the changes you are proposing.

@wendelfabianchinsamy wendelfabianchinsamy requested a review from a team September 25, 2024 07:29
@richardhallett
Copy link
Contributor

Uh, what are we using protobuf for in the first place? Is it used by a dependency?
Also we're not running jruby or does this dependency run that in the background for it to work?

@wendelfabianchinsamy
Copy link
Contributor Author

Uh, what are we using protobuf for in the first place? Is it used by a dependency? Also we're not running jruby or does this dependency run that in the background for it to work?

It is a dependency of apollo-federation (related to GraphQL).

@wendelfabianchinsamy wendelfabianchinsamy merged commit 9427cc7 into master Sep 25, 2024
26 checks passed
@wendelfabianchinsamy wendelfabianchinsamy deleted the upgrade-google-protobuf branch September 25, 2024 15:04
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.

Upgrade google protobuf gem
3 participants