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

fix CVE from ai.djl dependency #3478

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Conversation

zane-neo
Copy link
Collaborator

@zane-neo zane-neo commented Jan 31, 2025

Description

Fix ai.djl:api CVE by upgrading the version from 0.28.0 to 0.31.1

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Zan Niu <zaniu@amazon.com>
@jngz-es jngz-es mentioned this pull request Jan 31, 2025
5 tasks
@jngz-es jngz-es merged commit da7d5b9 into opensearch-project:main Jan 31, 2025
8 of 9 checks passed
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-3478-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 da7d5b941d64df597c6a5e0e14773ae15fb5ca75
# Push it to GitHub
git push --set-upstream origin backport/backport-3478-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport/backport-3478-to-2.x.

@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.19 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.19 2.19
# Navigate to the new working tree
cd .worktrees/backport-2.19
# Create a new branch
git switch --create backport/backport-3478-to-2.19
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 da7d5b941d64df597c6a5e0e14773ae15fb5ca75
# Push it to GitHub
git push --set-upstream origin backport/backport-3478-to-2.19
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.19

Then, create a pull request where the base branch is 2.19 and the compare/head branch is backport/backport-3478-to-2.19.

jngz-es pushed a commit to jngz-es/ml-commons that referenced this pull request Jan 31, 2025
Signed-off-by: Zan Niu <zaniu@amazon.com>
jngz-es pushed a commit to jngz-es/ml-commons that referenced this pull request Jan 31, 2025
Signed-off-by: Zan Niu <zaniu@amazon.com>
ylwu-amzn pushed a commit that referenced this pull request Jan 31, 2025
Signed-off-by: Zan Niu <zaniu@amazon.com>
Co-authored-by: zane-neo <zaniu@amazon.com>
jngz-es added a commit that referenced this pull request Jan 31, 2025
Signed-off-by: Zan Niu <zaniu@amazon.com>
Co-authored-by: zane-neo <zaniu@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants