Skip to content

chore(deps): update dependencies to address CVEs#12266

Open
tomkdgun wants to merge 7 commits into
opensearch-project:mainfrom
tomkdgun:cve_tk
Open

chore(deps): update dependencies to address CVEs#12266
tomkdgun wants to merge 7 commits into
opensearch-project:mainfrom
tomkdgun:cve_tk

Conversation

@tomkdgun

@tomkdgun tomkdgun commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Description

This PR addresses multiple dependency security vulnerabilities identified by Mend by updating affected packages to their latest secure versions. The PR was open because according to @ruanyl there is some technical problem with delivering few pull requests created by MEND/dependabot.

High Severity
Medium Severity
Changes Made
  • tar: Updated to 7.5.16
  • form-data: Updated to 4.0.6
  • ws: Updated to 8.21.0 and 7.5.11
  • js-yaml: Updated to 4.2.0
  • markdown-it: Updated to 14.2.0
  • hono: Updated to 4.12.25

Issues Resolved

closes #12240
closes #12242
closes #12243
closes #12244
closes #12246
closes #12247
closes #12248
closes #12249
closes #12250
closes #12251

After this PR will be merged pull request below will be obsolete and can be closed:
#12225
#12226
#12227
#12228
#12253
#12254

Screenshot

Testing the changes

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Commits are signed per the DCO using --signoff

tomkdgun added 6 commits June 23, 2026 12:14
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
Signed-off-by: Tomasz Kania <tomasz.kania@pl.ibm.com>
@tomkdgun tomkdgun changed the title CVE tk chore(deps): update dependencies to address CVEs Jun 23, 2026
@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

🔗 Workflow run · commit f307a3d2b5aa4939fa675a4bd313d82e35155dbb

❌ 1 Jest Test Failure(s)

📄 junit-jest-group4-Windows/TEST-Jest Tests.xml

❌ Query Actions - Comprehensive Test Suite abortAllActiveQueries should abort all active queries and clear controllers (0.008s)

Jest Tests.src\plugins\explore\public\application\utils\state_management\actions

Error: expect(received).toMatchInlineSnapshot(snapshot)

Snapshot name: `logs using level: option 1`

- Snapshot  - 0
+ Received  + 2

  Array [
    " info $ <nodedir>\\node.exe -e console.log(\"hi\")",
+   " info $ <nodedir>\\node.exe -e console.log(\"hi\")",
  … (5 more lines)

1 failure(s) across 1 suite(s). Full XML reports are in the junit-jest-* artifacts.

@github-actions

Copy link
Copy Markdown
Contributor

PR Code Analyzer ❗

AI-powered 'Code-Diff-Analyzer' found issues on commit f307a3d.

PathLineSeverityDescription
package.json143highDependency version change: form-data bumped from ^4.0.4 to ^4.0.6. Maintainers must verify artifact authenticity on the registry.
package.json161highDependency version change: js-yaml (overrides) bumped from ^4.1.1 to ^4.2.0. Maintainers must verify artifact authenticity on the registry.
package.json267highDependency version change: js-yaml (dependencies) bumped from ^4.1.1 to ^4.2.0. Maintainers must verify artifact authenticity on the registry.
package.json301highDependency version change: tar bumped from ^7.5.10 to ^7.5.16. Maintainers must verify artifact authenticity on the registry.
package.json387highDependency version change: @types/js-yaml bumped from ^4.0.5 to ^4.0.9. Maintainers must verify artifact authenticity on the registry.
package.json498highDependency version change: markdown-it bumped from ^14.1.1 to ^14.2.0. Maintainers must verify artifact authenticity on the registry.
packages/osd-agents/package.json35highDependency version change: ws bumped from ^8.20.1 to ^8.21.0. Maintainers must verify artifact authenticity on the registry.
yarn.lock12648highResolved version change: hono updated from 4.12.23 to 4.12.25 with new integrity hash. Maintainers must verify artifact authenticity on the registry.
yarn.lock14976highResolved version change: linkify-it updated from 5.0.0 to 5.0.1 with new integrity hash. Maintainers must verify artifact authenticity on the registry.
yarn.lock22205highResolved version change: ws 7.x updated from 7.5.10 to 7.5.11 with new integrity hash. Maintainers must verify artifact authenticity on the registry.

The table above displays the top 10 most important findings.

Total: 11 | Critical: 0 | High: 11 | Medium: 0 | Low: 0


Pull Requests Author(s): Please update your Pull Request according to the report above.

Repository Maintainer(s): You can bypass diff analyzer by adding label skip-diff-analyzer after reviewing the changes carefully, then re-run failed actions. To re-enable the analyzer, remove the label, then re-run all actions.


⚠️ Note: The Code-Diff-Analyzer helps protect against potentially harmful code patterns. Please ensure you have thoroughly reviewed the changes beforehand.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant