Icp-mongodb security vulnerability patch for IBM Cloud Private Version 3.1.1.0 clusters - Readme file

Readme file for: icp-mongodb security vulnerability patch for IBM Cloud Private Version 3.1.1.0 clusters

Product Release: 3.1.1.0

Publication date: March 5, 2019

Last modified date: February 26, 2019

Contents

  1. Overview
  2. Applying the patch
  3. How to verify the patch
  4. Rolling back the patch
  5. List of files
  6. Copyright and trademark information

Overview

This patch fixes security vulnerabilities that affect IBM Cloud Private.

Vulnerability Details: CVE-2018-18065 https://exchange.xforce.ibmcloud.com/vulnerabilities/150994

For information on Security Vulnerabilities affecting IBM Cloud Private, see the IBM PSIRT Blog - https://www.ibm.com/blogs/psirt/.

The following image versions have changed:

  1. icp-mongodb:4.0-f1-rhel
  2. icp-mongodb-install:3.1.1-f1-rhel

The following services are restarted when you apply the patch:

  1. icp-mongodb

The following platforms are supported:

  1. Red Hat Enterprise Linux OpenShift

Applying the patch

  1. Download the patch file icp-mongodb-3.1.1-f1-3.1.1.0-20668-20190220-rhos.tar.gz from IBM Fix Central.
  2. Copy the patch file icp-mongodb-3.1.1-f1-3.1.1.0-20668-20190220-rhos.tar.gz to your master node.
  3. Configure cloudctl on your master node. For more information, see Installing the IBM Cloud Private CLI.

    cloudctl login -a https://<cluster_CA_domain>:<router_https_port> --skip-ssl-validation

    Get the cluster_CA_domain and router_https_port values from the cluster_CA_domain and router_https_port parameters that are in the /<installation_directory>/cluster/config.yaml file.

  4. Log in to the IBM Cloud Private 3.1.1.0 clusters' private registry as as a user with ClusterAdministrator access by entering the following command:

    docker login docker-registry.default.svc:5000

    Note: Depending on your environment, the private registry may instead be docker-registry-default.<cluster_CA_domain>

  5. Load the PPA archive.

    cloudctl catalog load-archive --archive icp-mongodb-3.1.1-f1-3.1.1.0-20668-20190220-rhos.tar.gz --registry docker-registry.default.svc:5000/<namespace> --repo mgmt-charts

    <namespace> is the namespace where icp-mongodb is installed.

    Note: Depending on your environment, the private registry may instead be docker-registry-default.<cluster_CA_domain>

  6. Upgrade icp-mongodb.

NOTE: Do not use the IBM Cloud Private management console to upgrade to the patch level. The --force option is required for reliable operation.

How to verify the patch

Verify that the patch is installed correctly by using the IBM Cloud Private management console:

  1. In the navigation menu, select Workloads > Helm Releases.
  2. Find icp-mongodb in the table and check the Current Version and Status.

Verify that the patch is installed correctly by using the Helm CLI. For more information, see Installing the Helm CLI (helm)

  1. Check the history of the icp-mongodb release:
     helm history --tls icp-mongodb
    
  2. Check the status of the helm-repo release:
     helm status --tls icp-mongodb
    

Rolling back the patch

Rolling back the patch manually

  1. List the history of the icp-mongodb release and find the release revision number that is one version earlier than the current release.

    helm history --tls icp-mongodb

  2. Roll back the helm-repo release to the revision number that you found in the previous step.

    helm rollback --tls --force icp-mongodb <revision>

Rolling back the patch by using the IBM Cloud Private management console.

  1. Log in to the console as a user with ClusterAdministrator access.
  2. In the navigation menu, select Workloads > Helm Releases.
  3. Open the Action menu on the row for the icp-mongodb release and select Upgrade. The current version in the Version drop-down is the patch version.
  4. Select the previous version of icp-mongodb in the Version drop-down list and select Rollback.
  5. Select the old version of chart, then click Rollback.

List of files

Table 1. List of IBM Cloud Private 3.1.1.0 patch files

Description File name
File extension
icp-mongodb security vulnerability patch for IBM Cloud Private Version 3.1.1.0 clusters icp-mongodb-3.1.1-f1-3.1.1.0-20668-20190220-rhos .tar.gz
icp-mongodb security vulnerability patch for IBM Cloud Private Version 3.1.1.0 clusters - Readme icp-mongodb-3.1.1-f1-3.1.1.0-20668-20190220-rhos-readme .html

© Copyright IBM Corporation 2019

U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

IBM®, the IBM logo and ibm.com® are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.