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

Update commons-compress library version #199

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

fqtab
Copy link
Contributor

@fqtab fqtab commented Feb 27, 2024

org.apache.commons:commons-compress:1.24.0 has been reported for vulnerabilities:

org.apache.commons:commons-compress:1.26.0 fixes these.

Previously

./gradlew -q iceberg-kafka-connect-runtime:dependencyInsight --dependency commons-compress --configuration runtimeClassPath
org.apache.commons:commons-compress:1.24.0 (forced)
  Variant runtime:
    | Attribute Name                 | Provided     | Requested    |
    |--------------------------------|--------------|--------------|
    | org.gradle.status              | release      |              |
    | org.gradle.category            | library      | library      |
    | org.gradle.libraryelements     | jar          | jar          |
    | org.gradle.usage               | java-runtime | java-runtime |
    | org.gradle.dependency.bundling |              | external     |
    | org.gradle.jvm.environment     |              | standard-jvm |
    | org.gradle.jvm.version         |              | 8            |

org.apache.commons:commons-compress:1.21 -> 1.24.0
\--- org.apache.hadoop:hadoop-common:3.3.6
     \--- runtimeClasspath

org.apache.commons:commons-compress:1.22 -> 1.24.0
\--- org.apache.avro:avro:1.11.3
     +--- project :iceberg-kafka-connect
     |    \--- runtimeClasspath
     +--- project :iceberg-kafka-connect-events
     |    \--- project :iceberg-kafka-connect (*)
     +--- org.apache.iceberg:iceberg-orc:1.4.2 (requested org.apache.avro:avro:1.11.1)
     |    \--- project :iceberg-kafka-connect (*)
     \--- org.apache.iceberg:iceberg-core:1.4.2 (requested org.apache.avro:avro:1.11.1)
          +--- project :iceberg-kafka-connect (*)
          +--- org.apache.iceberg:iceberg-aws:1.4.2
          |    \--- runtimeClasspath
          +--- org.apache.iceberg:iceberg-azure:1.4.2
          |    \--- runtimeClasspath
          +--- org.apache.iceberg:iceberg-gcp:1.4.2
          |    \--- runtimeClasspath
          +--- org.apache.iceberg:iceberg-nessie:1.4.2
          |    \--- runtimeClasspath
          +--- project :iceberg-kafka-connect-events (*)
          +--- org.apache.iceberg:iceberg-data:1.4.2
          |    \--- project :iceberg-kafka-connect (*)
          +--- org.apache.iceberg:iceberg-orc:1.4.2 (*)
          \--- org.apache.iceberg:iceberg-parquet:1.4.2
               \--- project :iceberg-kafka-connect (*)

(*) - Indicates repeated occurrences of a transitive dependency subtree. Gradle expands transitive dependency subtrees only once per project; repeat occurrences only display the root of the subtree, followed by this annotation.

After this change

./gradlew -q iceberg-kafka-connect-runtime:dependencyInsight --dependency commons-compress --configuration runtimeClassPath

org.apache.commons:commons-compress:1.26.0 (forced)
  Variant runtime:
    | Attribute Name                 | Provided     | Requested    |
    |--------------------------------|--------------|--------------|
    | org.gradle.status              | release      |              |
    | org.gradle.category            | library      | library      |
    | org.gradle.libraryelements     | jar          | jar          |
    | org.gradle.usage               | java-runtime | java-runtime |
    | org.gradle.dependency.bundling |              | external     |
    | org.gradle.jvm.environment     |              | standard-jvm |
    | org.gradle.jvm.version         |              | 8            |

org.apache.commons:commons-compress:1.21 -> 1.26.0
\--- org.apache.hadoop:hadoop-common:3.3.6
     \--- runtimeClasspath

org.apache.commons:commons-compress:1.22 -> 1.26.0
\--- org.apache.avro:avro:1.11.3
     +--- project :iceberg-kafka-connect
     |    \--- runtimeClasspath
     +--- project :iceberg-kafka-connect-events
     |    \--- project :iceberg-kafka-connect (*)
     +--- org.apache.iceberg:iceberg-orc:1.4.2 (requested org.apache.avro:avro:1.11.1)
     |    \--- project :iceberg-kafka-connect (*)
     \--- org.apache.iceberg:iceberg-core:1.4.2 (requested org.apache.avro:avro:1.11.1)
          +--- project :iceberg-kafka-connect (*)
          +--- org.apache.iceberg:iceberg-aws:1.4.2
          |    \--- runtimeClasspath
          +--- org.apache.iceberg:iceberg-azure:1.4.2
          |    \--- runtimeClasspath
          +--- org.apache.iceberg:iceberg-gcp:1.4.2
          |    \--- runtimeClasspath
          +--- org.apache.iceberg:iceberg-nessie:1.4.2
          |    \--- runtimeClasspath
          +--- project :iceberg-kafka-connect-events (*)
          +--- org.apache.iceberg:iceberg-data:1.4.2
          |    \--- project :iceberg-kafka-connect (*)
          +--- org.apache.iceberg:iceberg-orc:1.4.2 (*)
          \--- org.apache.iceberg:iceberg-parquet:1.4.2
               \--- project :iceberg-kafka-connect (*)

(*) - Indicates repeated occurrences of a transitive dependency subtree. Gradle expands transitive dependency subtrees only once per project; repeat occurrences only display the root of the subtree, followed by this annotation.

Copy link
Contributor

@tabmatfournier tabmatfournier left a comment

Choose a reason for hiding this comment

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

LGTM until we can update hadoop to 3.4, where this transitive dep is coming in (see: https://issues.apache.org/jira/browse/HADOOP-18895)

@fqtab fqtab merged commit b6bb8b9 into main Feb 28, 2024
1 check passed
@fqtab fqtab deleted the fix_commons_compress_vulnerability branch February 28, 2024 15:54
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.

2 participants