CVE-2021-21330

Aliases:GHSA-v6wp-4m6f-gcjgPYSEC-2021-76DEBIAN-CVE-2021-21330
Modified
Published: 26 Feb 2021, 02:15
Last modified:03 Aug 2024, 18:09

Vulnerability Summary

Overall Risk (default)
medium
25/100
CVSS Score
6.1 MEDIUM
v3.1 (nvd)
EPSS Score
1.91% LOW
2% probability +1.42%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

26 Feb 2021, 02:15
Published
Vulnerability first disclosed
03 Aug 2024, 18:09
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v4.0LOWScore: 2.3CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
  • v3.1LOWScore: 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
  • v3.1MEDIUMScore: 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • v2.0MEDIUMScore: 5.8AV:N/AC:M/Au:N/C:P/I:P/A:N

EPSS Trends

Current EPSS score: 1.91% Percentile: 79%

Techniques & Countermeasures

  • CWE-601URL Redirection to Untrusted Site ('Open Redirect')

    The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.

Affected Systems

  • aio-libsaiohttp

    < 3.7.4

  • aiohttpaiohttp

    < 3.7.4

  • debianpython-aiohttp

    < 3.7.4-1 | < 3.7.4-1 | < 3.7.4-1 | < 3.7.4-1

  • debiandebian_linux

    10.0

  • fedoraprojectfedora

    33 | 34

  • PyPIaiohttp

    < 2545222a3853e31ace15d87ae0e2effb7da0c96b | < 3.7.4

References (19)