chef-server icon indicating copy to clipboard operation
chef-server copied to clipboard

Upgrading to node.js 14.21.3 in oc-id

Open RoyShravani opened this issue 1 year ago • 5 comments
trafficstars

Description

Upgrading current node.js version 4.18.1 to 14.23.3 to address CVE-2023-23918, CVE-2023-23919, CVE-2023-23920, CVE-2023-23936 and CVE-2023-24807. oc-id component of Infra Server embedded in Chef Automate(4.12.69) has these vulnerabilities. [Please describe what this change achieves] Upgrading plan.sh of oc-id to consume node14 hab package to resolve these vulnerabilities.

Tested this change in oc-id embeded Chef Automate in the following environments:

  1. Non air-gapped installation of automate HA
  2. On-prem deployment with Chef-managed database
  3. AWS deployment with Chef-managed database

Issues Resolved

[List any existing issues this PR resolves, or any Discourse or StackOverflow discussions that are relevant]

Check List

RoyShravani avatar Jun 24 '24 07:06 RoyShravani

Deploy Preview for chef-server processing.

Name Link
Latest commit 4fc5b5fd73266033effc9f99fb9c66c8e69c7056
Latest deploy log https://app.netlify.com/sites/chef-server/deploys/66bb24829837ad0008b814b1

netlify[bot] avatar Jun 24 '24 07:06 netlify[bot]

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Have you tested the omnibus and hab build?

saghoshprogress avatar Jul 04 '24 06:07 saghoshprogress

Have you tested the omnibus and hab build? @saghoshprogress Yes, here are the successful omnibus and hab builds: https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/6355#_ https://buildkite.com/chef/chef-chef-server-main-habitat-build/builds/1176#_

RoyShravani avatar Jul 04 '24 07:07 RoyShravani

@RoyShravani As discussed, Please create a PR in automate also to verify the chef-server private pipeline status with the habitat oc-id new tag. you can find the tags in the pipline: https://buildkite.com/chef/chef-chef-server-main-habitat-build/builds/1176#_

jashaik avatar Jul 09 '24 13:07 jashaik

@jashaik created a PR in automate :https://github.com/chef/automate/pull/8478 the automate verify-private pipeline are green ocid : https://buildkite.com/chef/chef-automate-main-verify-private/builds/34915#0190988c-a18b-4541-a09b-bc508c6fb098 ocid config patch: https://buildkite.com/chef/chef-automate-main-verify-private/builds/34915#0190981f-7361-49c0-8b2c-0b1831609312

chef-server builds: https://buildkite.com/chef/chef-automate-main-verify-private/builds/34915#0190988c-9027-4fed-a00c-41dcd961c718 chef-server only: https://buildkite.com/chef/chef-automate-main-verify-private/builds/34915#0190981f-7337-483f-bf2b-1d936196b15f ha chef server: https://buildkite.com/chef/chef-automate-main-verify-private/builds/34915#01909afd-ec29-4a79-91da-2aacacdedc63

RoyShravani avatar Jul 10 '24 05:07 RoyShravani