CVE-2021-21330

Open redirect vulnerability in aiohttp

Published Feb 26, 2021 CVSS 3.1 · 3.1 Low EPSS 1.9% KEV · Not listed
Description
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In aiohttp before version 3.7.4 there is an open redirect vulnerability. A maliciously crafted link to an aiohttp-based web-server could redirect the browser to a different website. It is caused by a bug in the `aiohttp.web_middlewares.normalize_path_middleware` middleware. This security problem has been fixed in 3.7.4. Upgrade your dependency using pip as follows "pip install aiohttp >= 3.7.4". If upgrading is not an option for you, a workaround can be to avoid using `aiohttp.web_middlewares.normalize_path_middleware` in your applications.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4864-1 python-aiohttp security update
EUVD EUVD EUVD-2021-0003 aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. In aiohttp before version 3.7.4 there is an open redirect vulnerability. A maliciously crafted link to an aiohttp-based web-server could redirect the browser to a different website. It is caused by a bug in the `aiohttp.web_middlewares.normalize_path_middleware` middleware. This security problem has been fixed in 3.7.4. Upgrade your dependency using pip as follows \"pip install aiohttp >= 3.7.4\". If upgrading is not an option for you, a workaround can be to avoid using `aiohttp.web_middlewares.normalize_path_middleware` in your applications.
Github GHSA Github GHSA GHSA-v6wp-4m6f-gcjg `aiohttp` Open Redirect vulnerability (`normalize_path_middleware` middleware)
Ubuntu USN Ubuntu USN USN-5386-1 AIOHTTP vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 3, 2024, 6:09 PM
Reserved
Dec 22, 2020, 12:00 AM
Status
Modified
Published
Feb 26, 2021, 3:15 AM
Modified
Jun 17, 2026, 3:35 AM
Severity
Moderate
Public date
Feb 25, 2021, 12:00 AM