CVE-2021-21330
Detail
Modified
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected] .
URL
Source(s)
Tag(s)
https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst#374-2021-02-25
CVE, GitHub, Inc.
Third Party Advisory
https://github.com/aio-libs/aiohttp/commit/2545222a3853e31ace15d87ae0e2effb7da0c96b
CVE, GitHub, Inc.
Patch
Third Party Advisory
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg
CVE, GitHub, Inc.
Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU7ENI54JNEK3PHEFGCE46DGMFNTVU6L/
CVE, GitHub, Inc.
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3V7CZJRT4QFCVXB6LDPCJH7NAOFCA5/
CVE, GitHub, Inc.
https://pypi.org/project/aiohttp/
CVE, GitHub, Inc.
Product
Third Party Advisory
https://security.gentoo.org/glsa/202208-19
CVE, GitHub, Inc.
Third Party Advisory
https://www.debian.org/security/2021/dsa-4864
CVE, GitHub, Inc.
Third Party Advisory
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-601
URL Redirection to Untrusted Site ('Open Redirect')
NIST
GitHub, Inc.
Change History
11 change records found show changes
CVE Modified by CVE 11/21/2024 12:48:02 AM
Action
Type
Old Value
New Value
Added
Reference
https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst#374-2021-02-25
Added
Reference
https://github.com/aio-libs/aiohttp/commit/2545222a3853e31ace15d87ae0e2effb7da0c96b
Added
Reference
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU7ENI54JNEK3PHEFGCE46DGMFNTVU6L/
Added
Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3V7CZJRT4QFCVXB6LDPCJH7NAOFCA5/
Added
Reference
https://pypi.org/project/aiohttp/
Added
Reference
https://security.gentoo.org/glsa/202208-19
Added
Reference
https://www.debian.org/security/2021/dsa-4864
CVE Modified by GitHub, Inc. 5/14/2024 4:09:56 AM
Action
Type
Old Value
New Value
CPE Deprecation Remap by NIST 11/22/2023 12:09:17 PM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:a:aiohttp_project:aiohttp:*:*:*:*:*:*:*:* versions from (excluding) 3.7.4
OR
*cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:* versions from (excluding) 3.7.4
CVE Modified by GitHub, Inc. 11/06/2023 10:29:48 PM
Action
Type
Old Value
New Value
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FU7ENI54JNEK3PHEFGCE46DGMFNTVU6L/ [No types assigned]
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JN3V7CZJRT4QFCVXB6LDPCJH7NAOFCA5/ [No types assigned]
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/FU7ENI54JNEK3PHEFGCE46DGMFNTVU6L/
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected] /message/JN3V7CZJRT4QFCVXB6LDPCJH7NAOFCA5/
Modified Analysis by NIST 2/03/2023 4:03:34 PM
Action
Type
Old Value
New Value
Changed
Reference Type
https://security.gentoo.org/glsa/202208-19 No Types Assigned
https://security.gentoo.org/glsa/202208-19 Third Party Advisory
CVE Modified by GitHub, Inc. 8/10/2022 9:15:07 PM
Action
Type
Old Value
New Value
Added
Reference
https://security.gentoo.org/glsa/202208-19 [No Types Assigned]
Modified Analysis by NIST 3/26/2021 4:01:28 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/FU7ENI54JNEK3PHEFGCE46DGMFNTVU6L/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/FU7ENI54JNEK3PHEFGCE46DGMFNTVU6L/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected] /message/JN3V7CZJRT4QFCVXB6LDPCJH7NAOFCA5/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected] /message/JN3V7CZJRT4QFCVXB6LDPCJH7NAOFCA5/ Mailing List, Third Party Advisory
CVE Modified by GitHub, Inc. 3/19/2021 6:15:13 PM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/FU7ENI54JNEK3PHEFGCE46DGMFNTVU6L/ [No Types Assigned]
CVE Modified by GitHub, Inc. 3/07/2021 11:15:12 AM
Action
Type
Old Value
New Value
Added
Reference
https://lists.fedoraproject.org/archives/list/[email protected] /message/JN3V7CZJRT4QFCVXB6LDPCJH7NAOFCA5/ [No Types Assigned]
Initial Analysis by NIST 3/04/2021 11:27:58 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Added
CVSS V2
NIST (AV:N/AC:M/Au:N/C:P/I:P/A:N)
Added
CWE
NIST CWE-601
Added
CPE Configuration
OR
*cpe:2.3:a:aiohttp_project:aiohttp:*:*:*:*:*:*:*:* versions up to (excluding) 3.7.4
Added
CPE Configuration
OR
*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Changed
Reference Type
https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst#374-2021-02-25 No Types Assigned
https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst#374-2021-02-25 Third Party Advisory
Changed
Reference Type
https://github.com/aio-libs/aiohttp/commit/2545222a3853e31ace15d87ae0e2effb7da0c96b No Types Assigned
https://github.com/aio-libs/aiohttp/commit/2545222a3853e31ace15d87ae0e2effb7da0c96b Patch, Third Party Advisory
Changed
Reference Type
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg No Types Assigned
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-v6wp-4m6f-gcjg Third Party Advisory
Changed
Reference Type
https://pypi.org/project/aiohttp/ No Types Assigned
https://pypi.org/project/aiohttp/ Product, Third Party Advisory
Changed
Reference Type
https://www.debian.org/security/2021/dsa-4864 No Types Assigned
https://www.debian.org/security/2021/dsa-4864 Third Party Advisory
Added
CVSS V2 Metadata
Victim must voluntarily interact with attack mechanism
CVE Modified by GitHub, Inc. 2/27/2021 3:15:10 PM
Action
Type
Old Value
New Value
Added
Reference
https://www.debian.org/security/2021/dsa-4864 [No Types Assigned]
Quick Info
CVE Dictionary Entry: CVE-2021-21330 NVD
Published Date: 02/25/2021 NVD
Last Modified: 11/21/2024
Source: GitHub, Inc.