CVE-2021-3654 Open Redirect in CPython that affects users of OpenStack Nova
Attackers can craft malicious URLs to redirect users to arbitrary sites via the noVNC console proxy in OpenStack Nova.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-3654?
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.
Official 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.
Weakness: CWE-601
Which versions are affected by CVE-2021-3654?
7 open source packages ship an affected version, including nova. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
nova PyPI | All versions | 21.2.3, 22.2.3, 23.0.3 |
nova PyPI | All versions | 21.2.3 |
nova PyPI | All versions | 21.2.3 |
nova PyPI | From 22.0.0 | 22.2.3 |
nova PyPI | From 22.0.0 | 22.2.3 |
nova PyPI | From 23.0.0 | 23.0.3 |
1 more packages
nova PyPI | From 23.0.0 | 23.0.3 |
Linux distribution packages (24)
openstack-nova Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova-api Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova-common Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova-compute Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova-conductor Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova-console Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova-migration Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova-novncproxy Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova-scheduler Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova-serialproxy Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova-spicehtml5proxy Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
python3-nova Red Hat:openstack:16.1::el8 | All versions | 1:20.4.1-1.20220112153422.1ee93b9.el8ost |
openstack-nova Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
openstack-nova-api Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
openstack-nova-common Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
openstack-nova-compute Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
openstack-nova-conductor Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
openstack-nova-console Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
openstack-nova-migration Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
openstack-nova-novncproxy Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
openstack-nova-scheduler Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
openstack-nova-serialproxy Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
openstack-nova-spicehtml5proxy Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
python3-nova Red Hat:openstack:16.2::el8 | All versions | 1:20.6.2-2.20220112164912.8906554.el8ost |
Products include Openstack Nova, Redhat Openstack Platform.
How do I fix CVE-2021-3654?
Upgrade nova to a fixed version for your release line: 21.2.3, 22.2.3 or 23.0.3.
Is CVE-2021-3654 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-3654 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in openstack-nova
- CVE-2017-7214 OpenStack Nova logs sensitive context from notification exceptions
- CVE-2017-17051 OpenStack Nova DoS by rebuilding the same instance with a new image multiple times
- CVE-2020-17376 OpenStack Nova Live migration fails to update persistent domain XML
- CVE-2017-18191 OpenStack Nova Denial of service attack on the compute host
- CVE-2015-3280 OpenStack Compute (nova) allows remote authenticated users to cause a denial of service
Sources
Also known as DEBIAN-CVE-2021-3654, GHSA-vqp6-j452-j6wp, PYSEC-2026-693, RHSA-2022:0983, RHSA-2022:0999, UBUNTU-CVE-2021-3654.