GHSA-gcj9-jj38-hwmc · Severity: medium · Ecosystem: swift — Vapor's Metrics integration could cause a system drain
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.
Conclusion & alert: CVE-2021-21328 is rated Moderate Risk (47.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.62%). Core evidence: EPSS rose +1.18% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.44% | 1.62% | +1.18% |
| 2 | 2025-11-21 | 0.49% | 0.44% | -0.05% |
| 3 | 2025-11-18 | — | 0.49% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
GHSA-gcj9-jj38-hwmc · Severity: medium · Ecosystem: swift — Vapor's Metrics integration could cause a system drain
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vapor_project | vapor | < 4.40.1 | cpe:2.3:a:vapor_project:vapor:*:*:*:*:*:swift:*:* |
| URL | Tags |
|---|---|
| https://github.com/vapor/vapor/commit/e3aa712508db2854ac0ab905696c65fd88fa7e23 | Patch Third Party Advisory |
| https://github.com/vapor/vapor/releases/tag/4.40.1 | Release Notes Third Party Advisory |
| https://github.com/vapor/vapor/security/advisories/GHSA-gcj9-jj38-hwmc | Third Party Advisory |
| https://vapor.codes/ | Product |