apache / apache/hudi

The JAR file that Hudi Common depends on has vulnerabilities.

Open
#12,930 3 comments 0 reactions 0 assignees View on GitHub
area:build
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

hudi common depends on `hbase-protocol-shaded-2.4.13.jar` and `htrace-core4-4.2.0-incubating.jar`
Among them, `hbase-protocol-shaded` also depends on ` htrace-core` .
![Image](https://github.com/user-attachments/assets/83d244a4-fd44-4f58-bccd-6bfd002b5272)
The htrace-core dependency on jackson-databind has many vulnerabilities.

![Image](https://github.com/user-attachments/assets/998c4f98-57b9-4c3e-93ea-4b159c2545e9)

We want to exclude `jackson-databind ` using Maven's mechanism. However, these two JAR files are packaged using the Maven Shade Plugin, and there is no direct way to exclude them.

Does the community currently have a way to work around this issue, or is there a plan to fix this vulnerability?

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the Maven Shade Plugin configuration that packages hbase-protocol-shaded-2.4.13.jar and htrace-core4-4.2.0-incubating.jar. Trace how htrace-core brings in jackson-databind, then determine whether the shaded artifacts can safely remove that dependency or require an upgrade. Done means documenting or implementing a supported way to eliminate the vulnerable dependency and verifying the resulting artifacts.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.