{"answers":{"affected":"15 open source packages ship an affected version, including cinder, glance and nova. It affects 4 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-47951 exists.","fix":"Upgrade cinder to a fixed version for your release line: 19.1.2 or 20.0.2.","what":"CVE-2022-47951 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 26 Jan 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-47951 and fix it if it is affected.\n\nWhat it is: CVE-2022-47951 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 26 Jan 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-47951 exists.\n\nAffected packages and fixed versions:\n- cinder (PyPI): affected all versions; fixed in 19.1.2, 20.0.2\n- cinder (PyPI): affected all versions; fixed in 19.1.2\n- cinder (PyPI): affected all versions; fixed in 19.1.2\n- cinder (PyPI): affected from 20.0.0; fixed in 20.0.2\n- cinder (PyPI): affected from 20.0.0; fixed in 20.0.2\n- glance (PyPI): affected all versions; fixed in 23.0.1, 24.1.1\n- glance (PyPI): affected all versions; fixed in 23.0.1\n- glance (PyPI): affected all versions; fixed in 23.0.1\n- glance (PyPI): affected from 24.0.0; fixed in 24.1.1\n- glance (PyPI): affected from 24.0.0; fixed in 24.1.1\n- nova (PyPI): affected all versions; fixed in 24.1.2, 25.0.2\n- nova (PyPI): affected all versions; fixed in 24.1.2\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-2022-47951/ (Markdown: https://insights.sbomify.com/CVE-2022-47951/index.md)","id":"CVE-2022-47951","markdown":"https://insights.sbomify.com/CVE-2022-47951/index.md","name":"CVE-2022-47951","record":{"aliases":["DEBIAN-CVE-2022-47951","DLA-3300-1","DLA-3301-1","DLA-3302-1","DSA-5336-1","DSA-5337-1","DSA-5338-1","GHSA-7h75-hwxx-qpgc","PYSEC-2026-2411","PYSEC-2026-2490","PYSEC-2026-868","RHSA-2023:1015","RHSA-2023:1016","RHSA-2023:1017","RHSA-2023:1278","RHSA-2023:1279","RHSA-2023:1280","SUSE-SU-2023:0844-1","SUSE-SU-2023:1949-1","UBUNTU-CVE-2022-47951","USN-5835-1","USN-5835-2","USN-5835-3","USN-5835-4","USN-5835-5"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Block Storage","requires_auth":"low_privilege","summary":"An authenticated user can read arbitrary files from the server by uploading a malicious VMDK image in OpenStack Cinder, Glance, or Nova.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"cinder","vendor":"openstack"},{"product":"glance","vendor":"openstack"},{"product":"nova","vendor":"openstack"}],"cvss":{"score":5.7,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"An issue was discovered in OpenStack Cinder before 19.1.2, 20.x before 20.0.2, and 21.0.0; Glance before 23.0.1, 24.x before 24.1.1, and 25.0.0; and Nova before 24.1.2, 25.x before 25.0.2, and 26.0.0. By supplying a specially created VMDK flat image that references a specific backing file path, an authenticated user may convince systems to return a copy of that file's contents from the server, resulting in unauthorized access to potentially sensitive data.","ecosystems":["PyPI","Red Hat:openstack:13::el7","Red Hat:openstack:16.1::el8","Red Hat:openstack:16.2::el8","Red Hat:openstack:17.0::el9","SUSE:HPE Helion OpenStack 8","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OpenStack Cinder, glance, and Nova vulnerable to Path Traversal","id":"CVE-2022-47951","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"debian:debian_linux","products":["debian:debian_linux"],"type":"path_traversal","year":"2022"},"n_packages":170,"n_references":8,"next":{"headline":"Information disclosure in n/a","id":"CVE-2022-47952"},"packages":[{"ecosystem":"PyPI","fixed":["19.1.2","20.0.2"],"introduced":["0","20.0.0"],"last_affected":[],"package":"cinder","purl":"pkg:pypi/cinder","source":"PYSEC-2026-2411"},{"ecosystem":"PyPI","fixed":["19.1.2"],"introduced":["0"],"last_affected":[],"package":"cinder","purl":null,"source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["19.1.2"],"introduced":["0"],"last_affected":[],"package":"cinder","purl":"pkg:pypi/cinder","source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["20.0.2"],"introduced":["20.0.0"],"last_affected":[],"package":"cinder","purl":null,"source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["20.0.2"],"introduced":["20.0.0"],"last_affected":[],"package":"cinder","purl":"pkg:pypi/cinder","source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["23.0.1","24.1.1"],"introduced":["0","24.0.0"],"last_affected":[],"package":"glance","purl":"pkg:pypi/glance","source":"PYSEC-2026-2490"},{"ecosystem":"PyPI","fixed":["23.0.1"],"introduced":["0"],"last_affected":[],"package":"glance","purl":null,"source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["23.0.1"],"introduced":["0"],"last_affected":[],"package":"glance","purl":"pkg:pypi/glance","source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["24.1.1"],"introduced":["24.0.0"],"last_affected":[],"package":"glance","purl":null,"source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["24.1.1"],"introduced":["24.0.0"],"last_affected":[],"package":"glance","purl":"pkg:pypi/glance","source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["24.1.2","25.0.2"],"introduced":["0","25.0.0"],"last_affected":[],"package":"nova","purl":"pkg:pypi/nova","source":"PYSEC-2026-868"},{"ecosystem":"PyPI","fixed":["24.1.2"],"introduced":["0"],"last_affected":[],"package":"nova","purl":null,"source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["24.1.2"],"introduced":["0"],"last_affected":[],"package":"nova","purl":"pkg:pypi/nova","source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["25.0.2"],"introduced":["25.0.0"],"last_affected":[],"package":"nova","purl":null,"source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"PyPI","fixed":["25.0.2"],"introduced":["25.0.0"],"last_affected":[],"package":"nova","purl":"pkg:pypi/nova","source":"GHSA-7h75-hwxx-qpgc"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:12.0.10-27.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-cinder","purl":"pkg:rpm/redhat/openstack-cinder","source":"RHSA-2023:1279"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:16.0.1-13.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-glance","purl":"pkg:rpm/redhat/openstack-glance","source":"RHSA-2023:1280"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova","purl":"pkg:rpm/redhat/openstack-nova","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-api","purl":"pkg:rpm/redhat/openstack-nova-api","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-cells","purl":"pkg:rpm/redhat/openstack-nova-cells","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-common","purl":"pkg:rpm/redhat/openstack-nova-common","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-compute","purl":"pkg:rpm/redhat/openstack-nova-compute","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-conductor","purl":"pkg:rpm/redhat/openstack-nova-conductor","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-console","purl":"pkg:rpm/redhat/openstack-nova-console","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-migration","purl":"pkg:rpm/redhat/openstack-nova-migration","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-network","purl":"pkg:rpm/redhat/openstack-nova-network","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-novncproxy","purl":"pkg:rpm/redhat/openstack-nova-novncproxy","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-placement-api","purl":"pkg:rpm/redhat/openstack-nova-placement-api","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-scheduler","purl":"pkg:rpm/redhat/openstack-nova-scheduler","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-serialproxy","purl":"pkg:rpm/redhat/openstack-nova-serialproxy","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-spicehtml5proxy","purl":"pkg:rpm/redhat/openstack-nova-spicehtml5proxy","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:12.0.10-27.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-cinder","purl":"pkg:rpm/redhat/python-cinder","source":"RHSA-2023:1279"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:16.0.1-13.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-glance","purl":"pkg:rpm/redhat/python-glance","source":"RHSA-2023:1280"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:16.0.1-13.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-glance-tests","purl":"pkg:rpm/redhat/python-glance-tests","source":"RHSA-2023:1280"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-nova","purl":"pkg:rpm/redhat/python-nova","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:13::el7","fixed":["1:17.0.13-40.el7ost"],"introduced":["0"],"last_affected":[],"package":"python-nova-tests","purl":"pkg:rpm/redhat/python-nova-tests","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:15.4.0-1.20230206163350.58f0e73.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-cinder","purl":"pkg:rpm/redhat/openstack-cinder","source":"RHSA-2023:1279"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:19.0.4-1.20230207203320.5bbd356.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-glance","purl":"pkg:rpm/redhat/openstack-glance","source":"RHSA-2023:1280"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193231.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova","purl":"pkg:rpm/redhat/openstack-nova","source":"RHSA-2023:1278"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20221005193231.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-api","purl":"pkg:rpm/redhat/openstack-nova-api","source":"RHSA-2023:1278"}],"prev":{"headline":"OpenStack Swift XML external entities (XXE) Injection","id":"CVE-2022-47950"},"products":["n/a"],"published":"2023-01-26","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"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":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-31","vendors":["n/a"]},"summary":"An authenticated user can read arbitrary files from the server by uploading a malicious VMDK image in OpenStack Cinder, Glance, or Nova.","url":"https://insights.sbomify.com/CVE-2022-47951/"}