This is an automated email from the ASF dual-hosted git repository.

jerryshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new e6404832cb [#15018] improvement(deps): Update Kerby to 2.1.2 (#15019)
e6404832cb is described below

commit e6404832cb60888e93e9ef19e25518f26b75a982
Author: geyanggang <[email protected]>
AuthorDate: Wed Nov 18 19:12:58 2026 +0800

    [#15018] improvement(deps): Update Kerby to 2.1.2 (#15019)
    
    ### What changes were proposed in this pull request?
    - Update `kerby` from 2.0.3 to 2.1.2 in `gradle/libs.versions.toml`.
    - Remove the `JSch` entry from `LICENSE.iceberg`, since it is no longer
    bundled in the Iceberg REST server package.
    - Remove the `[email protected]` purl from the
    `.github/trivy/trivyignore.yaml` entry. The `1.0.1` purl stays, it is a
    copy shaded inside `hadoop-client-runtime`.
    
    ### Why are the changes needed?
    Keep Kerby on its latest release. Kerby is used by `server-common`
    (`KerberosServerUtils`) and `iceberg-common`.
    
    Compared with the current `main`, the `runtimeClasspath` of `:server`,
    `:iceberg:iceberg-rest-server` and `:catalogs:catalog-lakehouse-iceberg`
    changes only in:
    - all `org.apache.kerby` modules 2.0.3 -> 2.1.2
    - `nimbus-jose-jwt` 10.9 -> 10.9.1
    - `commons-io` -> 2.22.0 (was 2.18.0 on `:server`, 2.20.0 on the Iceberg
    modules)
    - `com.jcraft:jsch` 0.1.55 removed
    - `org.jline:jline` 3.22.0 -> 3.30.6 on `:server` only. It is already
    excluded from the Iceberg modules, and #15003 excludes it from the
    server package.
    
    `LICENSE.bin` keeps `JSch`, because `catalog-lakehouse-paimon` still
    brings it.
    
    Fix: #15018
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    - Compared the `runtimeClasspath` of `:server`,
    `:iceberg:iceberg-rest-server`, `:catalogs:catalog-lakehouse-iceberg`,
    `:lance:lance-rest-server` and `:clients:client-java` before and after:
    only the changes listed above.
    - `:server-common:test` (619 tests, including
    `TestKerberosAuthenticator`, which runs a real KDC) passes with Kerby
    2.1.2.
    - `:clients:filesystem-hadoop3:test --tests '*TestKerberosClient'`
    passes.
    - `./gradlew spotlessCheck :iceberg:iceberg-common:test
    :iceberg:iceberg-rest-server:test
    :catalogs:catalog-lakehouse-iceberg:test :server:test -PskipITs` passes.
    - `.github/trivy/scan.sh check-exemptions` and `node --test
    .github/scripts/tests/*.test.cjs` pass.
    
    Co-authored-by: Jerry Shao <[email protected]>
---
 .github/trivy/trivyignore.yaml | 1 -
 LICENSE.iceberg                | 1 -
 gradle/libs.versions.toml      | 2 +-
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/.github/trivy/trivyignore.yaml b/.github/trivy/trivyignore.yaml
index 80c8e0ddd2..01ec6c4c7c 100644
--- a/.github/trivy/trivyignore.yaml
+++ b/.github/trivy/trivyignore.yaml
@@ -694,7 +694,6 @@ vulnerabilities:
   - id: CVE-2026-57915
     purls:
       - pkg:maven/org.apache.kerby/[email protected]
-      - pkg:maven/org.apache.kerby/[email protected]
     expired_at: 2027-02-07
     statement: "Pre-existing finding, tracked in apache/gravitino#14777."
   # org.apache.thrift/libthrift
diff --git a/LICENSE.iceberg b/LICENSE.iceberg
index c7457a95c8..1b6d3f4651 100644
--- a/LICENSE.iceberg
+++ b/LICENSE.iceberg
@@ -328,7 +328,6 @@
    Google auth HTTP
    Javolution
    JLine
-   JSch
    JSR305
    LevelDB JNI
    Protobuf
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 9a45098f2c..e59292ab76 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -169,7 +169,7 @@ gradle-extensions-plugin = '1.74'
 publish-plugin = '1.2.0'
 rat-plugin = '0.8.0'
 shadow-plugin = "8.1.1"
-kerby = "2.0.3"
+kerby = "2.1.2"
 # Transitive of kerb-admin; raised above the 3.8.8.Final that kerb-admin 
brings in.
 xnio = "3.8.17.Final"
 # Netty is a transitive dependency of the AWS SDK (Glue catalog); the BOM 
keeps all modules on one patch.

Reply via email to