{"answers":{"affected":"7 open source packages ship an affected version, including nova. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-3654 exists.","fix":"Upgrade nova to a fixed version for your release line: 21.2.3, 22.2.3 or 23.0.3.","what":"CVE-2021-3654 is a medium-severity vulnerability in openstack-nova, published on 2 Mar 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-3654 and fix it if it is affected.\n\nWhat it is: CVE-2021-3654 is a medium-severity vulnerability in openstack-nova, published on 2 Mar 2022. An attacker can exploit it over the internet without logging in, 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-2021-3654 exists.\n\nAffected packages and fixed versions:\n- nova (PyPI): affected all versions; fixed in 21.2.3, 22.2.3, 23.0.3\n- nova (PyPI): affected all versions; fixed in 21.2.3\n- nova (PyPI): affected all versions; fixed in 21.2.3\n- nova (PyPI): affected from 22.0.0; fixed in 22.2.3\n- nova (PyPI): affected from 22.0.0; fixed in 22.2.3\n- nova (PyPI): affected from 23.0.0; fixed in 23.0.3\n- nova (PyPI): affected from 23.0.0; fixed in 23.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-2021-3654/ (Markdown: https://insights.sbomify.com/CVE-2021-3654/index.md)","id":"CVE-2021-3654","markdown":"https://insights.sbomify.com/CVE-2021-3654/index.md","name":"CVE-2021-3654","record":{"aliases":["DEBIAN-CVE-2021-3654","GHSA-vqp6-j452-j6wp","PYSEC-2026-693","RHSA-2022:0983","RHSA-2022:0999","UBUNTU-CVE-2021-3654"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenStack Nova","requires_auth":"none","summary":"Attackers can craft malicious URLs to redirect users to arbitrary sites via the noVNC console proxy in OpenStack Nova.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"nova","vendor":"openstack"},{"product":"openstack_platform","vendor":"redhat"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"A vulnerability was found in openstack-nova's console proxy, noVNC. By crafting a malicious URL, noVNC could be made to redirect to any desired URL.","ecosystems":["PyPI","Red Hat:openstack:16.1::el8","Red Hat:openstack:16.2::el8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2021/CVE-2021-3654.yaml","stars":null,"title":"Nova noVNC - Open Redirect"}],"tier":"weaponised"},"has_fix":true,"headline":"Open Redirect in CPython that affects users of OpenStack Nova","id":"CVE-2021-3654","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"open_redirect","year":"2021"},"n_packages":31,"n_references":8,"next":{"headline":"Information disclosure in kernel","id":"CVE-2021-3655"},"packages":[{"ecosystem":"PyPI","fixed":["21.2.3","22.2.3","23.0.3"],"introduced":["0","22.0.0","23.0.0"],"last_affected":[],"package":"nova","purl":"pkg:pypi/nova","source":"PYSEC-2026-693"},{"ecosystem":"PyPI","fixed":["21.2.3"],"introduced":["0"],"last_affected":[],"package":"nova","purl":null,"source":"GHSA-vqp6-j452-j6wp"},{"ecosystem":"PyPI","fixed":["21.2.3"],"introduced":["0"],"last_affected":[],"package":"nova","purl":"pkg:pypi/nova","source":"GHSA-vqp6-j452-j6wp"},{"ecosystem":"PyPI","fixed":["22.2.3"],"introduced":["22.0.0"],"last_affected":[],"package":"nova","purl":null,"source":"GHSA-vqp6-j452-j6wp"},{"ecosystem":"PyPI","fixed":["22.2.3"],"introduced":["22.0.0"],"last_affected":[],"package":"nova","purl":"pkg:pypi/nova","source":"GHSA-vqp6-j452-j6wp"},{"ecosystem":"PyPI","fixed":["23.0.3"],"introduced":["23.0.0"],"last_affected":[],"package":"nova","purl":null,"source":"GHSA-vqp6-j452-j6wp"},{"ecosystem":"PyPI","fixed":["23.0.3"],"introduced":["23.0.0"],"last_affected":[],"package":"nova","purl":"pkg:pypi/nova","source":"GHSA-vqp6-j452-j6wp"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova","purl":"pkg:rpm/redhat/openstack-nova","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-api","purl":"pkg:rpm/redhat/openstack-nova-api","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-common","purl":"pkg:rpm/redhat/openstack-nova-common","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-compute","purl":"pkg:rpm/redhat/openstack-nova-compute","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-conductor","purl":"pkg:rpm/redhat/openstack-nova-conductor","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-console","purl":"pkg:rpm/redhat/openstack-nova-console","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-migration","purl":"pkg:rpm/redhat/openstack-nova-migration","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-novncproxy","purl":"pkg:rpm/redhat/openstack-nova-novncproxy","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-scheduler","purl":"pkg:rpm/redhat/openstack-nova-scheduler","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-serialproxy","purl":"pkg:rpm/redhat/openstack-nova-serialproxy","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-spicehtml5proxy","purl":"pkg:rpm/redhat/openstack-nova-spicehtml5proxy","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.1::el8","fixed":["1:20.4.1-1.20220112153422.1ee93b9.el8ost"],"introduced":["0"],"last_affected":[],"package":"python3-nova","purl":"pkg:rpm/redhat/python3-nova","source":"RHSA-2022:0983"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova","purl":"pkg:rpm/redhat/openstack-nova","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-api","purl":"pkg:rpm/redhat/openstack-nova-api","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-common","purl":"pkg:rpm/redhat/openstack-nova-common","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-compute","purl":"pkg:rpm/redhat/openstack-nova-compute","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-conductor","purl":"pkg:rpm/redhat/openstack-nova-conductor","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-console","purl":"pkg:rpm/redhat/openstack-nova-console","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-migration","purl":"pkg:rpm/redhat/openstack-nova-migration","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-novncproxy","purl":"pkg:rpm/redhat/openstack-nova-novncproxy","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-scheduler","purl":"pkg:rpm/redhat/openstack-nova-scheduler","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-serialproxy","purl":"pkg:rpm/redhat/openstack-nova-serialproxy","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"openstack-nova-spicehtml5proxy","purl":"pkg:rpm/redhat/openstack-nova-spicehtml5proxy","source":"RHSA-2022:0999"},{"ecosystem":"Red Hat:openstack:16.2::el8","fixed":["1:20.6.2-2.20220112164912.8906554.el8ost"],"introduced":["0"],"last_affected":[],"package":"python3-nova","purl":"pkg:rpm/redhat/python3-nova","source":"RHSA-2022:0999"}],"prev":{"headline":"Privilege escalation in kernel","id":"CVE-2021-3653"},"products":["openstack-nova"],"published":"2022-03-02","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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can craft malicious URLs to redirect users to arbitrary sites via the noVNC console proxy in OpenStack Nova.","url":"https://insights.sbomify.com/CVE-2021-3654/"}