{"answers":{"affected":"3 open source packages ship an affected version, including nova. It affects 1 product.","exploited":"There is no known exploitation of CVE-2016-2140 in the wild and no public exploit code.","fix":"Upgrade nova to 12.0.3 or later.","what":"CVE-2016-2140 is a medium-severity path traversal vulnerability in n/a, published on 12 Apr 2016. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-2140 and fix it if it is affected.\n\nWhat it is: CVE-2016-2140 is a medium-severity path traversal vulnerability in n/a, published on 12 Apr 2016. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2016-2140 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nova (PyPI): affected from 12.0.0; fixed in 12.0.3\n- nova (PyPI): affected from 12.0.0; fixed in 12.0.3\n- nova (PyPI): affected from 12.0.0; fixed in 12.0.3\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-2016-2140/ (Markdown: https://insights.sbomify.com/CVE-2016-2140/index.md)","id":"CVE-2016-2140","markdown":"https://insights.sbomify.com/CVE-2016-2140/index.md","name":"CVE-2016-2140","record":{"aliases":["DEBIAN-CVE-2016-2140","GHSA-49jv-37hm-6gfp","PYSEC-2026-864","RHSA-2016:0363","RHSA-2016:0364","RHSA-2016:0365","RHSA-2016:0366","UBUNTU-CVE-2016-2140"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"OpenStack Compute","requires_auth":"low_privilege","summary":"Remote authenticated users can read arbitrary files via crafted qcow2 headers in OpenStack Compute when using raw storage with specific settings.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"nova","vendor":"openstack"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"The libvirt driver in OpenStack Compute (Nova) before 2015.1.4 (kilo) and 12.0.x before 12.0.3 (liberty), when using raw storage and use_cow_images is set to false, allows remote authenticated users to read arbitrary files via a crafted qcow2 header in an ephemeral or root disk.","ecosystems":["PyPI","Red Hat:openstack:5::el6","Red Hat:openstack:5::el7","Red Hat:openstack:6::el7","Red Hat:openstack:7::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 Nova host data access through resize/migration","id":"CVE-2016-2140","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2016"},"n_packages":64,"n_references":4,"next":{"headline":"Improper Input Validation in JGroups","id":"CVE-2016-2141"},"packages":[{"ecosystem":"PyPI","fixed":["12.0.3"],"introduced":["12.0.0"],"last_affected":[],"package":"nova","purl":null,"source":"GHSA-49jv-37hm-6gfp"},{"ecosystem":"PyPI","fixed":["12.0.3"],"introduced":["12.0.0"],"last_affected":[],"package":"nova","purl":"pkg:pypi/nova","source":"GHSA-49jv-37hm-6gfp"},{"ecosystem":"PyPI","fixed":["12.0.3"],"introduced":["12.0.0"],"last_affected":[],"package":"nova","purl":"pkg:pypi/nova","source":"PYSEC-2026-864"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova","purl":"pkg:rpm/redhat/openstack-nova","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-api","purl":"pkg:rpm/redhat/openstack-nova-api","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-cells","purl":"pkg:rpm/redhat/openstack-nova-cells","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-cert","purl":"pkg:rpm/redhat/openstack-nova-cert","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-common","purl":"pkg:rpm/redhat/openstack-nova-common","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-compute","purl":"pkg:rpm/redhat/openstack-nova-compute","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-conductor","purl":"pkg:rpm/redhat/openstack-nova-conductor","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-console","purl":"pkg:rpm/redhat/openstack-nova-console","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-doc","purl":"pkg:rpm/redhat/openstack-nova-doc","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-network","purl":"pkg:rpm/redhat/openstack-nova-network","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-novncproxy","purl":"pkg:rpm/redhat/openstack-nova-novncproxy","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-objectstore","purl":"pkg:rpm/redhat/openstack-nova-objectstore","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-scheduler","purl":"pkg:rpm/redhat/openstack-nova-scheduler","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-serialproxy","purl":"pkg:rpm/redhat/openstack-nova-serialproxy","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el6","fixed":["0:2014.1.5-29.el6ost"],"introduced":["0"],"last_affected":[],"package":"python-nova","purl":"pkg:rpm/redhat/python-nova","source":"RHSA-2016:0366"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova","purl":"pkg:rpm/redhat/openstack-nova","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-api","purl":"pkg:rpm/redhat/openstack-nova-api","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-cells","purl":"pkg:rpm/redhat/openstack-nova-cells","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-cert","purl":"pkg:rpm/redhat/openstack-nova-cert","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-common","purl":"pkg:rpm/redhat/openstack-nova-common","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-compute","purl":"pkg:rpm/redhat/openstack-nova-compute","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-conductor","purl":"pkg:rpm/redhat/openstack-nova-conductor","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-console","purl":"pkg:rpm/redhat/openstack-nova-console","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-doc","purl":"pkg:rpm/redhat/openstack-nova-doc","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-network","purl":"pkg:rpm/redhat/openstack-nova-network","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-novncproxy","purl":"pkg:rpm/redhat/openstack-nova-novncproxy","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-objectstore","purl":"pkg:rpm/redhat/openstack-nova-objectstore","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-scheduler","purl":"pkg:rpm/redhat/openstack-nova-scheduler","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-serialproxy","purl":"pkg:rpm/redhat/openstack-nova-serialproxy","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:5::el7","fixed":["0:2014.1.5-29.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-nova","purl":"pkg:rpm/redhat/python-nova","source":"RHSA-2016:0365"},{"ecosystem":"Red Hat:openstack:6::el7","fixed":["0:2014.2.3-54.2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova","purl":"pkg:rpm/redhat/openstack-nova","source":"RHSA-2016:0364"},{"ecosystem":"Red Hat:openstack:6::el7","fixed":["0:2014.2.3-54.2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-api","purl":"pkg:rpm/redhat/openstack-nova-api","source":"RHSA-2016:0364"},{"ecosystem":"Red Hat:openstack:6::el7","fixed":["0:2014.2.3-54.2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-cells","purl":"pkg:rpm/redhat/openstack-nova-cells","source":"RHSA-2016:0364"},{"ecosystem":"Red Hat:openstack:6::el7","fixed":["0:2014.2.3-54.2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-cert","purl":"pkg:rpm/redhat/openstack-nova-cert","source":"RHSA-2016:0364"},{"ecosystem":"Red Hat:openstack:6::el7","fixed":["0:2014.2.3-54.2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-common","purl":"pkg:rpm/redhat/openstack-nova-common","source":"RHSA-2016:0364"},{"ecosystem":"Red Hat:openstack:6::el7","fixed":["0:2014.2.3-54.2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-compute","purl":"pkg:rpm/redhat/openstack-nova-compute","source":"RHSA-2016:0364"},{"ecosystem":"Red Hat:openstack:6::el7","fixed":["0:2014.2.3-54.2.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-conductor","purl":"pkg:rpm/redhat/openstack-nova-conductor","source":"RHSA-2016:0364"}],"prev":{"headline":"Cross-site scripting in kippo-graph","id":"CVE-2016-2139"},"products":["n/a"],"published":"2016-04-12","related":[{"cvss_score":9.8,"headline":"OpenStack Nova logs sensitive context from notification exceptions","id":"CVE-2017-7214","kev_date_added":null,"published":"2017-03-21"},{"cvss_score":8.6,"headline":"OpenStack Nova DoS by rebuilding the same instance with a new image multiple times","id":"CVE-2017-17051","kev_date_added":null,"published":"2017-12-05"},{"cvss_score":8.3,"headline":"OpenStack Nova Live migration fails to update persistent domain XML","id":"CVE-2020-17376","kev_date_added":null,"published":"2020-08-26"},{"cvss_score":7.5,"headline":"OpenStack Nova Denial of service attack on the compute host","id":"CVE-2017-18191","kev_date_added":null,"published":"2018-02-19"},{"cvss_score":6.8,"headline":"OpenStack Compute (nova) allows remote authenticated users to cause a denial of service","id":"CVE-2015-3280","kev_date_added":null,"published":"2015-10-26"},{"cvss_score":6.8,"headline":"OpenStack Nova instance migration process does not stop when instance is deleted","id":"CVE-2015-3241","kev_date_added":null,"published":"2015-09-08"},{"cvss_score":6.5,"headline":"OpenStack Nova vulnerable to unauthorized access to potentially sensitive data","id":"CVE-2024-40767","kev_date_added":null,"published":"2024-07-24"}],"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":"RHSA"},{"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":["n/a"]},"summary":"Remote authenticated users can read arbitrary files via crafted qcow2 headers in OpenStack Compute when using raw storage with specific settings.","url":"https://insights.sbomify.com/CVE-2016-2140/"}