opensearch-project / reporting

Export and automate PNG, PDF, and CSV reports in OpenSearch Dashboards
https://opensearch.org/docs/latest/dashboards/reporting/
Apache License 2.0
28 stars 66 forks source link

[1.3] Upgrade JSON to 20231013 to fix CVE-2023-5072 #986

Closed rupal-bq closed 5 months ago

rupal-bq commented 5 months ago

Description

Upgrade JSON to 20231013 (Backport https://github.com/opensearch-project/reporting/pull/912)

Issues Resolved

CVE-2023-5072

Check List

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.

opensearch-trigger-bot[bot] commented 5 months ago

The backport to 1.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-1.x 1.x
# Navigate to the new working tree
cd .worktrees/backport-1.x
# Create a new branch
git switch --create backport/backport-986-to-1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 d5f8064dff99dbdb8d68caf836f7752d69985e75
# Push it to GitHub
git push --set-upstream origin backport/backport-986-to-1.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.x

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