Lucene search

K
ibmIBMB8ED4D0C1C5D1E01AED72B188FB319FE4EB8FDB211DB044010433250C46EC4EF
HistoryNov 14, 2018 - 7:20 p.m.

Security Bulletin: A Security Vulnerability could affect IBMยฎ Cloud Private (CVE-2018-10892)

2018-11-1419:20:01
www.ibm.com
7

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:N/I:P/A:N

Summary

Users of IBM Cloud Private and the IBM Cloud Automation Manager component could be affected by a vulnerability in Docker

Vulnerability Details

CVEID: CVE-2018-10892 DESCRIPTION: Docker could allow a local attacker to bypass security restrictions, caused by the failure to block /proc/acpi pathnames by the default OCI linux spec in oci/defaults{_linux}.go. An attacker could exploit this vulnerability to modify hostโ€™s hardware like enabling/disabling bluetooth or turning up/down keyboard brightness.
CVSS Base Score: 4.3
CVSS Temporal Score: See <https://exchange.xforce.ibmcloud.com/vulnerabilities/147374&gt; for the current score
CVSS Environmental Score*: Undefined
CVSS Vector: (CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N)

Affected Products and Versions

IBM Cloud Private 2.1.0.x and 3.1.0

Remediation/Fixes

Upgrade Docker to version 18.03.1 or higher.

Docker upgrade instructions for IBM Cloud Private:

Ubuntu: <https://docs.docker.com/install/linux/docker-ce/ubuntu/&gt;

RHEL: <https://docs.docker.com/install/linux/docker-ce/centos/&gt;

Docker upgrade instructions for IBM Cloud Automation Manager component are below:

IBM Cloud Automation Manager Content Runtime deployment installs either Docker CE or Docker EE on the Content Runtime virtual machine based on user selection. Docker CE is installed either using Docker provided convenience scripts or using the installation binary provided by the user. Docker EE is installed using the Docker EE repository URL provided by the user or the installation binary provided by the user.

To fix this vulnerability, you need to upgrade the Docker Engine to 18.03.1 or 18.06.1. Do not upgrade to 18.09 or higher as the devicemapper storage driver that is used by your content runtime deployment is deprecated in 18.09. Follow these steps to upgrade the Docker Engine installed on your Content Runtime virtual machine.

If you are using Docker Universal Control Plane or Docker Trusted Registry you will not be able to upgrade to 18.x. Refer to release notes provided in <https://docs.docker.com/release-notes/docker-ce/&gt; and <https://docs.docker.com/ee/engine/release-notes/&gt; for more information. Also refer to <https://docs.docker.com/ee/upgrade/&gt; for general information on Docker EE upgrades.

Before you upgrade the Docker Engine:

1. Verify the docker engine version that is running on your Content Runtime Virtual Machine. If the version that is running is lower than 18.03.1, then you need to upgrade.

2. Make sure you have no middleware content template deployments or destructions or deletes in โ€œProgressโ€ state. If there are, then wait for them to complete before your start your upgrade.

3. Execute the following command to bring down the pattern manager and software repository containers on the Content Runtime Virtual Machine.

cd /root/advanced-content-runtime

docker-compose -f docker-compose.yml down

Upgrade Docker CE on Ubuntu

1. Execute the following command to update the apt packages

sudo apt-get update

2. List the versions available in your repo. Verify if the version you need is in the list.

sudo apt-cache madison docker-ce

3. Install a specific version by its fully qualified package name

sudo apt-get install docker-ce=&lt;VERSION&gt;

Where version is the second column from output of the step 3

Example: sudo apt-get install docker-ce=18.06.1~ce~3-0~ubuntu

4. Verify the docker version using the following command

sudo docker version

5. Restart the containers using the following command 

cd /root/advanced-content-runtime

docker-compose -f docker-compose.yml up -d

6. Verify if the containers are started by executing the following command.

sudo docker ps

For more details on install and upgrade of Docker CE on Ubuntu refer to https://docs.docker.com/install/linux/docker-ce/ubuntu/

Upgrade Docker EE on Ubuntu

1. Execute the following command to set up the repository for Docker Engine 18.03

sudo add-apt-repository "deb [arch=amd64] &lt;YOUR_DOCKER_EE_REPO_URL&gt;/ubuntu &lt;YOUR_UBUNTU_VERSION&gt; stable-18.03"




Example: sudo add-apt-repository "deb [arch=amd64] [https://storebits.docker.com/ee/trial/sub-xxx-xxx-xxx-xxx-xxx/ubuntu xenial stable-18.03](&lt;https://storebits.docker.com/ee/trial/sub-xxx-xxx-xxx-xxx-xxx/ubuntu%20xenial%20stable-18.03&gt;)"

2. Execute the following command to update the apt packages




sudo apt-get update

3. List the versions available in your repo. Verify if the version you need is in the list.




sudo apt-cache madison docker-ee

4. Install a specific version by its fully qualified package name


sudo apt-get install docker-ee=&lt;VERSION&gt;

Where version is the second column from output of the step 3

ย ย  


Example: sudo apt-get install docker-ee=3:18.03.1~ee~3~3-0~ubuntu

5. Verify the docker version using the following command 




sudo docker version

6. Restart the containers using the following command 

cd /root/advanced-content-runtime

docker-compose -f docker-compose.yml up -d

7. Verify if the containers are started by executing the following command.

sudo docker ps

For more details on install and upgrade of Docker EE on Ubuntu refer to https://docs.docker.com/install/linux/docker-ee/ubuntu/




ย 

Upgrade Docker EE on Red Hat Linux

1. Execute the following command to set up the repository for Docker Engine 18.03

ย 


sudo yum-config-manager --enable docker-ee-stable-18.03



ย 
2. List the versions available in your repository. Verify if the version you need is in the list. 



sudo yum list docker-ee --showduplicates | sort -r

3. Install the latest docker engine




sudo yum -y install docker-ee
 
4. Verify the docker version using the following command 




sudo docker version

5. Restart the containers using the following command 

cd /root/advanced-content-runtime

docker-compose -f docker-compose.yml up -d

6. Verify if the containers are started by executing the following command.

sudo docker ps

ย 


For more details on install and upgrade of Docker EE on Red Hat Linux refer to 
https://docs.docker.com/install/linux/docker-ee/rhel/




ย 


**Upgrade Docker installed using binary files**




If you installed Docker on Content Runtime virtual machine using the Docker Installation file option during Content 
Runtime deployment, then you need to download the debian or rpm package from Docker and upgrade the package. 




For more information, depending on your operating system and Docker Engine Edition, refer to Upgrade section in 
one of the following link




&lt;https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-from-a-package&gt;, 
&lt;https://docs.docker.com/install/linux/docker-ee/rhel/#install-with-a-package&gt;, 
or &lt;https://docs.docker.com/install/linux/docker-ee/ubuntu/#install-from-a-package&gt; 




**For Red Hat execute the following steps**

1. Upgrade to new version using




sudo yum -y upgrade &lt;PATH_TO_UPGRADE_PACKAGE&gt;

2. Verify the docker version using 



docker version

3. Restart the containers using the following command 

cd /root/advanced-content-runtime

docker-compose -f docker-compose.yml up -d

4. Verify if the containers are started by executing the following command.

docker ps

ย 



**For Ubuntu execute the following steps**

1. Upgrade to new version using




sudo dpkg -i &lt;PATH_TO_UPGRADE_PACKAGE&gt;

2. Verify the docker version using 



docker version

3. Restart the containers using the following command

cd /root/advanced-content-runtime

docker-compose -f docker-compose.yml up -d

4. Verify if the containers are started by executing the following command.

docker ps

ย 

Workarounds and Mitigations

None

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:N/I:P/A:N