CVE-2021-3654 Open Redirect in CPython that affects users of OpenStack Nova

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
nova PyPIAll versions21.2.3, 22.2.3, 23.0.3
nova PyPIAll versions21.2.3
nova PyPIAll versions21.2.3
nova PyPIFrom 22.0.022.2.3
nova PyPIFrom 22.0.022.2.3
nova PyPIFrom 23.0.023.0.3
1 more packages
nova PyPIFrom 23.0.023.0.3
Linux distribution packages (24)
openstack-nova Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova-api Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova-common Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova-compute Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova-conductor Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova-console Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova-migration Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova-novncproxy Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova-scheduler Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova-serialproxy Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova-spicehtml5proxy Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
python3-nova Red Hat:openstack:16.1::el8All versions1:20.4.1-1.20220112153422.1ee93b9.el8ost
openstack-nova Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
openstack-nova-api Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
openstack-nova-common Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
openstack-nova-compute Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
openstack-nova-conductor Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
openstack-nova-console Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
openstack-nova-migration Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
openstack-nova-novncproxy Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
openstack-nova-scheduler Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
openstack-nova-serialproxy Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
openstack-nova-spicehtml5proxy Red Hat:openstack:16.2::el8All versions1:20.6.2-2.20220112164912.8906554.el8ost
python3-nova Red Hat:openstack:16.2::el8All versions1: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.

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.

Is CVE-2021-3654 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free