Open redirect in aiohttp - CVE-2021-21330
Published: February 28, 2021
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
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
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
- https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst#374-2021-02-25
- https://github.com/aio-libs/aiohttp/commit/2545222a3853e31ace15d87ae0e2effb7da0c96b
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg
- https://pypi.org/project/aiohttp/
- https://www.debian.org/security/2021/dsa-4864