CVE-2021-21328: Denial of Service

Published Feb 26, 2021
·
Updated

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 vaporrouteundefined to avoid unlimited counters.

Affected Software

1 affected component
Vapor Project Vapor Swift<4.40.1

Event History

Feb 26, 2021
CVE Published
via MITRE·01:45 AM
Data Sourced
via MITRE·01:45 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-21328?

CVE-2021-21328 is classified as a Denial of Service (DoS) vulnerability.

2

How do I fix CVE-2021-21328?

To fix CVE-2021-21328, upgrade to Vapor version 4.40.1 or later.

3

What type of attacks does CVE-2021-21328 allow?

CVE-2021-21328 allows attackers to perform DoS attacks by sending unlimited requests with different paths.

4

Which versions of Vapor are affected by CVE-2021-21328?

CVE-2021-21328 affects all Vapor versions prior to 4.40.1.

5

Can CVE-2021-21328 affect the security of my application?

Yes, CVE-2021-21328 can compromise the availability of your application through a DoS attack.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203