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

Patched()Fix Protobuf Java vulnerable to Uncontrolled Resource Consumption #39566

Closed
wants to merge 1 commit into from

Conversation

imhunterand
Copy link

Changes:

Affected of this apache-spark are vulnerable to Denial of Service (DoS) when providing inputs containing multiple instances of non-repeated embedded messages, with repeated or unknown fields. The vulnerability exists due to a parsing issue in the Message-Type Extensions. Exploiting this vulnerability causes objects to be converted back and forth between mutable and immutable forms, resulting in potentially long garbage collection pauses.

          input.readGroup(field.getNumber(), builder.getFieldBuilder(field), extensionRegistry);
          return;
      if (defaultInstance != null) {
        subBuilder = defaultInstance.newBuilderForType();
      } else {
        subBuilder = builder.newBuilderForField(field);
    const char* name = upb_EnumValueDef_Name(ev);
      String name = value.getName();
      if (Character.isUpperCase(name.codePointAt(0))) {

Operational Impact

CWE-400
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@imhunterand
Copy link
Author

Hi! @everyone @apache any update is last week's ago for waited fixed. could you merged this pull-request as fixed/patched.

Kind regards,

@srowen
Copy link
Member

srowen commented Jan 24, 2023

Hold up a sec. First please read https://spark.apache.org/contributing.html
Where does this actually affect Spark?
You have only updated a protobuf depenency in the Kinesis integration

@github-actions
Copy link

github-actions bot commented May 5, 2023

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label May 5, 2023
@github-actions github-actions bot closed this May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants