CVE-2018-16849 openstack-mistral Discloses the presence of arbitrary files within the filesystem

Low 3.1 Published Updated

Attackers can determine the existence of arbitrary files on the executor filesystem by manipulating SSH private key filenames in OpenStack Mistral.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-16849?

CVE-2018-16849 is a low-severity vulnerability in [UNKNOWN] openstack-mistral, published on 2 Nov 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in openstack-mistral. By manipulating the SSH private key filename, the std.ssh action can be used to disclose the presence of arbitrary files within the filesystem of the executor running the action. Since std.ssh private_key_filename can take an absolute path, it can be used to assess whether or not a file exists on the executor's filesystem.

Weakness: CWE-200

Which versions are affected by CVE-2018-16849?

3 open source packages ship an affected version, including mistral. It affects 1 product.

PackageAffectedFixed in
mistral PyPIAll versions7.0.1
mistral PyPIAll versions7.0.1
mistral PyPIAll versions7.0.1
Linux distribution packages (35)
instack-undercloud Red Hat:openstack:13::el7All versions0:8.4.6-6.el7ost
openstack-mistral Red Hat:openstack:13::el7All versions0:6.0.6-2.el7ost
openstack-mistral-all Red Hat:openstack:13::el7All versions0:6.0.6-2.el7ost
openstack-mistral-api Red Hat:openstack:13::el7All versions0:6.0.6-2.el7ost
openstack-mistral-common Red Hat:openstack:13::el7All versions0:6.0.6-2.el7ost
openstack-mistral-engine Red Hat:openstack:13::el7All versions0:6.0.6-2.el7ost
openstack-mistral-event-engine Red Hat:openstack:13::el7All versions0:6.0.6-2.el7ost
openstack-mistral-executor Red Hat:openstack:13::el7All versions0:6.0.6-2.el7ost
openstack-tripleo-common Red Hat:openstack:13::el7All versions0:8.6.6-16.el7ost
openstack-tripleo-common-container-base Red Hat:openstack:13::el7All versions0:8.6.6-16.el7ost
openstack-tripleo-common-containers Red Hat:openstack:13::el7All versions0:8.6.6-16.el7ost
openstack-tripleo-common-devtools Red Hat:openstack:13::el7All versions0:8.6.6-16.el7ost
openstack-tripleo-heat-templates Red Hat:openstack:13::el7All versions0:8.2.0-6.1.el7ost
openstack-tripleo-image-elements Red Hat:openstack:13::el7All versions0:8.0.1-3.el7ost
openstack-tripleo-puppet-elements Red Hat:openstack:13::el7All versions0:8.0.1-2.el7ost
openstack-tripleo-ui Red Hat:openstack:13::el7All versions0:8.3.2-3.el7ost
openstack-tripleo-validations Red Hat:openstack:13::el7All versions0:8.4.4-2.el7ost
os-net-config Red Hat:openstack:13::el7All versions0:8.4.3-6.el7ost
os-refresh-config Red Hat:openstack:13::el7All versions0:8.3.1-0.20180918214345.4703b54.el7ost
puppet-cinder Red Hat:openstack:13::el7All versions0:12.4.1-3.el7ost
puppet-keystone Red Hat:openstack:13::el7All versions0:12.4.0-4.el7ost
puppet-manila Red Hat:openstack:13::el7All versions0:12.5.0-3.el7ost
puppet-neutron Red Hat:openstack:13::el7All versions0:12.4.1-4.ed05e01git.el7ost
puppet-nova Red Hat:openstack:13::el7All versions0:12.4.0-16.el7ost
puppet-octavia Red Hat:openstack:13::el7All versions0:12.4.0-8.el7ost
puppet-opendaylight Red Hat:openstack:13::el7All versions0:8.2.2-5.9126c8dgit.el7ost
puppet-ovn Red Hat:openstack:13::el7All versions0:12.4.0-2.el7ost
puppet-pacemaker Red Hat:openstack:13::el7All versions0:0.7.2-0.20180423212257.el7ost
puppet-swift Red Hat:openstack:13::el7All versions0:12.4.0-4.el7ost
puppet-tripleo Red Hat:openstack:13::el7All versions0:8.3.6-15.el7ost
python-mistral Red Hat:openstack:13::el7All versions0:6.0.6-2.el7ost
python-mistral-tests Red Hat:openstack:13::el7All versions0:6.0.6-2.el7ost
python-os-brick Red Hat:openstack:13::el7All versions0:2.3.4-2.el7ost
python-tripleoclient Red Hat:openstack:13::el7All versions0:9.2.6-8.el7ost
python2-os-brick Red Hat:openstack:13::el7All versions0:2.3.4-2.el7ost

Products include Redhat Openstack-Mistral.

How do I fix CVE-2018-16849?

Upgrade mistral to 7.0.1 or later.

Is CVE-2018-16849 being exploited?

There is no known exploitation of CVE-2018-16849 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-16849, GHSA-fqw7-c6vr-q29m, PYSEC-2018-92, RHBA-2019:0448, UBUNTU-CVE-2018-16849.

Is CVE-2018-16849 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free