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

[HUDI-7817] Use Jackson Core instead of org.codehaus.jackson for JSON encoding #11369

Merged
merged 1 commit into from
May 31, 2024

Conversation

yihua
Copy link
Contributor

@yihua yihua commented May 30, 2024

Change Logs

org.codehaus.jackson is a older version of Jackson Core (com.fasterxml.jackson.core:jackson-core). org.codehaus.jackson:jackson-mapper-asl has critical vulnerabilities (CWE-502 | CVE-2019-10202 | CVSS 9.8 | SNYK-JAVA-ORGCODEHAUSJACKSON-3326362), which should be avoided. This PR changes JsonEncoder to use Jackson Core and adds rules to check illegal imports of org.codehaus.jackson.

Impact

Unifies usage of JSON encoding.

Risk level

none

Documentation Update

none

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@yihua yihua marked this pull request as ready for review May 30, 2024 21:27
@github-actions github-actions bot added the size:S PR with lines of changes in (10, 100] label May 30, 2024
@hudi-bot
Copy link

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@yihua yihua merged commit 0e55f09 into apache:master May 31, 2024
47 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-1.0.0-beta2 release-1.0.0 size:S PR with lines of changes in (10, 100]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants