CVE-2021-21328
CVSS V2 Medium 5
CVSS V3 Medium 5.3
Description
Vapor is a web framework for Swift. In Vapor before version 4.40.1, there is a DoS attack against anyone who Bootstraps a metrics backend for their Vapor app. The following is the attack vector: 1. send unlimited requests against a vapor instance with different paths. this will create unlimited counters and timers, which will eventually drain the system. 2. downstream services might suffer from this attack as well by being spammed with error paths. This has been patched in 4.40.1. The `DefaultResponder` will rewrite any undefined route paths for to `vapor_route_undefined` to avoid unlimited counters.
Overview
- CVE ID
- CVE-2021-21328
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-02-26T02:15:12
- Last Modified Date
- 2021-03-05T19:38:57
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:vapor_project:vapor:*:*:*:*:*:swift:*:* | 1 | OR | 4.40.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- LOW
- Base Score
- 5.3
- Base Severity
- MEDIUM
- Exploitability Score
- 3.9
- Impact Score
- 1.4
References
Reference URL | Reference Tags |
---|---|
https://github.com/vapor/vapor/releases/tag/4.40.1 | Release Notes Third Party Advisory |
https://github.com/vapor/vapor/commit/e3aa712508db2854ac0ab905696c65fd88fa7e23 | Patch Third Party Advisory |
https://github.com/vapor/vapor/security/advisories/GHSA-gcj9-jj38-hwmc | Third Party Advisory |
https://vapor.codes/ | Product |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-21328 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21328 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:20:49 | Added to TrackCVE | |||
2022-12-05 22:49:58 | 2021-02-26T02:15Z | 2021-02-26T02:15:12 | CVE Published Date | updated |
2022-12-05 22:49:58 | 2021-03-05T19:38:57 | CVE Modified Date | updated | |
2022-12-05 22:49:58 | Analyzed | Vulnerability Status | updated |