Open redirect in aiohttp - CVE-2021-21330

 

Open redirect in aiohttp - CVE-2021-21330

Published: February 28, 2021


Vulnerability identifier: #VU50977
CSH Severity: Low
CVSS v4: 2.1 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-21330
CWE-ID: CWE-601
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to redirect victims to arbitrary URL.

The vulnerability exists due to improper sanitization of user-supplied data. A remote attacker can create a link that leads to a trusted website, however, when clicked, redirects the victim to arbitrary domain.

Successful exploitation of this vulnerability may allow a remote attacker to perform a phishing attack and steal potentially sensitive information.


Affected software

aiohttp
Gentoo Linux
Fedora
SUSE Linux Enterprise Module for Public Cloud
IBM Watson Discovery for IBM Cloud Pak for Data
python-aiohttp (Debian package)
python-aiohttp-debugsource
python3-aiohttp
python3-aiohttp-debuginfo
python-aiohttp-doc
dev-python/aiohttp
python-aiohttp

How to mitigate CVE-2021-21330

Install updates from vendor's website.

aiohttp - update to 3.7.4
IBM Watson Discovery for IBM Cloud Pak for Data - addressed in versions 2.2.1-patch-4, 4.0.2
python-aiohttp (Debian package) - update to 3.5.1-1+deb10u1
python-aiohttp-debugsource - update to 3.4.4-3.6.1
python3-aiohttp - update to 3.4.4-3.6.1
python3-aiohttp-debuginfo - update to 3.4.4-3.6.1
python-aiohttp-doc - update to 3.4.4-3.6.1
dev-python/aiohttp - update to 3.7.4
python-aiohttp - addressed in versions 3.7.4-1.el8, 3.7.4-1.fc33, 3.7.4-1.fc34

External References

Related Security Bulletins