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

yuqi1129 pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new d0c92803cc [Cherry-pick to branch-2.0] [#15012] improvement(bundles): 
Update org.json in the Tencent bundle to 20260814 (#15013) (#15084)
d0c92803cc is described below

commit d0c92803cc2997b95843c7d4aa7e34ddfa1da254
Author: Qi Yu <[email protected]>
AuthorDate: Thu Nov 19 10:00:16 2026 +0800

    [Cherry-pick to branch-2.0] [#15012] improvement(bundles): Update org.json 
in the Tencent bundle to 20260814 (#15013) (#15084)
    
    **Cherry-pick Information:**
    - Original commit: 115411fed31e0214996e127c399042b4dc2c12fb
    - Target branch: `branch-2.0`
    - Status: ✅ Clean cherry-pick (no conflicts)
    - Fork CI: runs in `yuqi1129/gravitino`; re-run it there or push to this
    PR branch
    
    Co-authored-by: geyanggang <[email protected]>
---
 .github/trivy/trivyignore.yaml          | 11 -----------
 bundles/tencent-bundle/build.gradle.kts |  3 +++
 gradle/libs.versions.toml               |  2 ++
 3 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/.github/trivy/trivyignore.yaml b/.github/trivy/trivyignore.yaml
index 01ec6c4c7c..941c4e08fe 100644
--- a/.github/trivy/trivyignore.yaml
+++ b/.github/trivy/trivyignore.yaml
@@ -755,17 +755,6 @@ vulnerabilities:
       - pkg:maven/org.jline/[email protected]
     expired_at: 2027-02-07
     statement: "Pre-existing finding, tracked in apache/gravitino#14777."
-  # org.json/json
-  - id: CVE-2022-45688
-    purls:
-      - pkg:maven/org.json/json@20180130
-    expired_at: 2027-02-07
-    statement: "Pre-existing finding, tracked in apache/gravitino#14777."
-  - id: CVE-2023-5072
-    purls:
-      - pkg:maven/org.json/json@20180130
-    expired_at: 2027-02-07
-    statement: "Pre-existing finding, tracked in apache/gravitino#14777."
   # org.lz4/lz4-java
   - id: CVE-2025-12183
     purls:
diff --git a/bundles/tencent-bundle/build.gradle.kts 
b/bundles/tencent-bundle/build.gradle.kts
index f8c59de939..209a7200d2 100644
--- a/bundles/tencent-bundle/build.gradle.kts
+++ b/bundles/tencent-bundle/build.gradle.kts
@@ -26,6 +26,9 @@ plugins {
 
 dependencies {
   implementation(project(":bundles:tencent"))
+  // cos-sts-java 3.0.8 (from hadoop-cos) pulls in org.json:json 20180130. 
Declare it directly so
+  // that both the shaded jar and the published POM resolve the version in the 
catalog.
+  implementation(libs.org.json)
 
   implementation(libs.commons.collections3)
   implementation(libs.commons.io)
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index e59292ab76..35c1940dc5 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -183,6 +183,7 @@ woodstox-core = "6.5.1"
 mail = "1.4.1"
 rome = "1.0"
 jettison = "1.5.4"
+org-json = "20260814"
 thrift = "0.12.0"
 derby = "10.14.2.0"
 datanucleus-core = "4.1.17"
@@ -408,6 +409,7 @@ servlet = { group = "javax.servlet", name = 
"javax.servlet-api", version.ref = "
 mail = { group = "javax.mail", name = "mail", version.ref = "mail" }
 rome = { group = "rome", name = "rome", version.ref = "rome" }
 jettison = { group = "org.codehaus.jettison", name = "jettison", version.ref = 
"jettison" }
+org-json = { group = "org.json", name = "json", version.ref = "org-json" }
 
 google-auth-http = { group = "com.google.auth", name = 
"google-auth-library-oauth2-http", version.ref = "google-auth" }
 google-auth-credentials = { group = "com.google.auth", name = 
"google-auth-library-credentials", version.ref = "google-auth" }

Reply via email to