{"answers":{"affected":"3 open source packages ship an affected version, including mistral. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-16849 in the wild and no public exploit code.","fix":"Upgrade mistral to 7.0.1 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2018-16849 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2018-16849 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- mistral (PyPI): affected all versions; fixed in 7.0.1\n- mistral (PyPI): affected all versions; fixed in 7.0.1\n- mistral (PyPI): affected all versions; fixed in 7.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-16849/ (Markdown: https://insights.sbomify.com/CVE-2018-16849/index.md)","id":"CVE-2018-16849","markdown":"https://insights.sbomify.com/CVE-2018-16849/index.md","name":"CVE-2018-16849","record":{"aliases":["DEBIAN-CVE-2018-16849","GHSA-fqw7-c6vr-q29m","PYSEC-2018-92","RHBA-2019:0448","UBUNTU-CVE-2018-16849"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Mistral","requires_auth":"low_privilege","summary":"Attackers can determine the existence of arbitrary files on the executor filesystem by manipulating SSH private key filenames in OpenStack Mistral.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openstack-mistral","vendor":"redhat"}],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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.","ecosystems":["PyPI","Red Hat:openstack:13::el7"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"openstack-mistral Discloses the presence of arbitrary files within the filesystem","id":"CVE-2018-16849","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2018"},"n_packages":38,"n_references":2,"next":{"headline":"SQL injection in postgresql","id":"CVE-2018-16850"},"packages":[{"ecosystem":"PyPI","fixed":["7.0.1"],"introduced":["0"],"last_affected":[],"package":"mistral","purl":null,"source":"GHSA-fqw7-c6vr-q29m"},{"ecosystem":"PyPI","fixed":["7.0.1"],"introduced":["0"],"last_affected":[],"package":"mistral","purl":"pkg:pypi/mistral","source":"GHSA-fqw7-c6vr-q29m"},{"ecosystem":"PyPI","fixed":["7.0.1"],"introduced":["0"],"last_affected":[],"package":"mistral","purl":"pkg:pypi/mistral","source":"PYSEC-2018-92"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.4.6-6.el7ost"],"introduced":["0"],"last_affected":[],"package":"instack-undercloud","purl":"pkg:rpm/redhat/instack-undercloud","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:6.0.6-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-mistral","purl":"pkg:rpm/redhat/openstack-mistral","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:6.0.6-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-mistral-all","purl":"pkg:rpm/redhat/openstack-mistral-all","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:6.0.6-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-mistral-api","purl":"pkg:rpm/redhat/openstack-mistral-api","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:6.0.6-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-mistral-common","purl":"pkg:rpm/redhat/openstack-mistral-common","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:6.0.6-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-mistral-engine","purl":"pkg:rpm/redhat/openstack-mistral-engine","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:6.0.6-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-mistral-event-engine","purl":"pkg:rpm/redhat/openstack-mistral-event-engine","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:6.0.6-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-mistral-executor","purl":"pkg:rpm/redhat/openstack-mistral-executor","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.6.6-16.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common","purl":"pkg:rpm/redhat/openstack-tripleo-common","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.6.6-16.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common-container-base","purl":"pkg:rpm/redhat/openstack-tripleo-common-container-base","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.6.6-16.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common-containers","purl":"pkg:rpm/redhat/openstack-tripleo-common-containers","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.6.6-16.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-common-devtools","purl":"pkg:rpm/redhat/openstack-tripleo-common-devtools","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.2.0-6.1.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-heat-templates","purl":"pkg:rpm/redhat/openstack-tripleo-heat-templates","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.0.1-3.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-image-elements","purl":"pkg:rpm/redhat/openstack-tripleo-image-elements","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.0.1-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-puppet-elements","purl":"pkg:rpm/redhat/openstack-tripleo-puppet-elements","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.3.2-3.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-ui","purl":"pkg:rpm/redhat/openstack-tripleo-ui","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.4.4-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-validations","purl":"pkg:rpm/redhat/openstack-tripleo-validations","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.4.3-6.el7ost"],"introduced":["0"],"last_affected":[],"package":"os-net-config","purl":"pkg:rpm/redhat/os-net-config","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.3.1-0.20180918214345.4703b54.el7ost"],"introduced":["0"],"last_affected":[],"package":"os-refresh-config","purl":"pkg:rpm/redhat/os-refresh-config","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:12.4.1-3.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-cinder","purl":"pkg:rpm/redhat/puppet-cinder","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:12.4.0-4.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-keystone","purl":"pkg:rpm/redhat/puppet-keystone","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:12.5.0-3.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-manila","purl":"pkg:rpm/redhat/puppet-manila","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:12.4.1-4.ed05e01git.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-neutron","purl":"pkg:rpm/redhat/puppet-neutron","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:12.4.0-16.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-nova","purl":"pkg:rpm/redhat/puppet-nova","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:12.4.0-8.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-octavia","purl":"pkg:rpm/redhat/puppet-octavia","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.2.2-5.9126c8dgit.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-opendaylight","purl":"pkg:rpm/redhat/puppet-opendaylight","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:12.4.0-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-ovn","purl":"pkg:rpm/redhat/puppet-ovn","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:0.7.2-0.20180423212257.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-pacemaker","purl":"pkg:rpm/redhat/puppet-pacemaker","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:12.4.0-4.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-swift","purl":"pkg:rpm/redhat/puppet-swift","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:8.3.6-15.el7ost"],"introduced":["0"],"last_affected":[],"package":"puppet-tripleo","purl":"pkg:rpm/redhat/puppet-tripleo","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:6.0.6-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-mistral","purl":"pkg:rpm/redhat/python-mistral","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:6.0.6-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-mistral-tests","purl":"pkg:rpm/redhat/python-mistral-tests","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:2.3.4-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-os-brick","purl":"pkg:rpm/redhat/python-os-brick","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:9.2.6-8.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-tripleoclient","purl":"pkg:rpm/redhat/python-tripleoclient","source":"RHBA-2019:0448"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["0:2.3.4-2.el7ost"],"introduced":["0"],"last_affected":[],"package":"python2-os-brick","purl":"pkg:rpm/redhat/python2-os-brick","source":"RHBA-2019:0448"}],"prev":{"headline":"OpenStack Mistral DoS","id":"CVE-2018-16848"},"products":["openstack-mistral"],"published":"2018-11-02","related":[{"cvss_score":6.5,"headline":"OpenStack Mistral DoS","id":"CVE-2018-16848","kev_date_added":null,"published":"2020-06-15"},{"cvss_score":5.9,"headline":"Information disclosure in openstack-mistral","id":"CVE-2019-3866","kev_date_added":null,"published":"2019-11-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["[UNKNOWN]"]},"summary":"Attackers can determine the existence of arbitrary files on the executor filesystem by manipulating SSH private key filenames in OpenStack Mistral.","url":"https://insights.sbomify.com/CVE-2018-16849/"}