rhdh icon indicating copy to clipboard operation
rhdh copied to clipboard

chore(deps): [1.2.x] Bump Express to v4.21.0 to fix a number of CVEs

Open kim-tsao opened this issue 2 years ago • 4 comments

Description

A backport of https://github.com/janus-idp/backstage-showcase/pull/1619 to 1.2.5 Adds a global resolution that bumps express to v4.21.0 which updates a number of transitive dependencies that fix the following CVEs:

  • CVE-2024-45590
  • CVE-2024-43799
  • CVE-2024-45296
  • CVE-2024-43800

Please explain the changes you made here.

Which issue(s) does this PR fix

  • Fixes #? https://issues.redhat.com/browse/RHIDP-3916 https://issues.redhat.com/browse/RHIDP-3916

PR acceptance criteria

Please make sure that the following steps are complete:

  • [ ] GitHub Actions are completed and successful
  • [ ] Unit Tests are updated and passing
  • [ ] E2E Tests are updated and passing
  • [ ] Documentation is updated if necessary (requirement for new features)
  • [ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

kim-tsao avatar Oct 07 '24 15:10 kim-tsao

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1735!

github-actions[bot] avatar Oct 07 '24 16:10 github-actions[bot]

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1735!

github-actions[bot] avatar Oct 10 '24 19:10 github-actions[bot]

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1735!

github-actions[bot] avatar Oct 10 '24 23:10 github-actions[bot]

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1735!

github-actions[bot] avatar Oct 11 '24 21:10 github-actions[bot]

/test e2e-tests

kim-tsao avatar Oct 12 '24 01:10 kim-tsao

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1735!

github-actions[bot] avatar Oct 14 '24 01:10 github-actions[bot]

/test e2e-tests

Fortune-Ndlovu avatar Oct 14 '24 08:10 Fortune-Ndlovu

/test e2e-tests

subhashkhileri avatar Oct 15 '24 06:10 subhashkhileri

/retest

kim-tsao avatar Oct 15 '24 12:10 kim-tsao

/retest

kim-tsao avatar Oct 16 '24 11:10 kim-tsao

/retest

kim-tsao avatar Oct 16 '24 17:10 kim-tsao

/test e2e-tests

kim-tsao avatar Oct 17 '24 02:10 kim-tsao

ocm-backend 4.0.10 has not been published which is why the e2e tests are failing

kim-tsao avatar Oct 17 '24 16:10 kim-tsao

ocm-backend 4.0.10 was published 7 days ago https://www.npmjs.com/package/@janus-idp/backstage-plugin-ocm-backend?activeTab=versions

https://www.npmjs.com/package/@janus-idp/backstage-plugin-ocm-backend/v/4.0.10

nickboldt avatar Oct 18 '24 18:10 nickboldt

If we figure out the cause of the e2e test failues is unrelated to the -dynamic packages being pushed to npmjs (since these exist inside the rhdh-hub-rhel9 container already) we can likely close https://issues.redhat.com/browse/RHIDP-4556 as a "won't do".

nickboldt avatar Oct 18 '24 18:10 nickboldt

/test e2e-tests

josephca avatar Oct 18 '24 18:10 josephca

The image is available at: quay.io/janus-idp/backstage-showcase:pr-1735!

github-actions[bot] avatar Oct 21 '24 16:10 github-actions[bot]

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Fortune-Ndlovu, nickboldt

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Oct 21 '24 17:10 openshift-ci[bot]

/retest

Fortune-Ndlovu avatar Oct 21 '24 22:10 Fortune-Ndlovu

New changes are detected. LGTM label has been removed.

openshift-ci[bot] avatar Oct 23 '24 02:10 openshift-ci[bot]