Approved changes feed: RSS · Atom
cpe:2.3:a:vapor:vapor:*:*:*:*:*:*:*:*
part: a version: * update: *
| Vendor | Vapor (2988aa33-ebae-55d9-9513-bcc3db2a6bb1) |
|---|---|
| Product | Vapor (22ff9936-4927-5d3e-9536-7fc79e94b564) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | * |
| Target hardware | * |
| Other | * |
| Notes | Imported from purl2cpe mapping |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
pkg:github/vapor/vapor |
purl2cpe | 2026-06-01 10:14:19.184111 |
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2024-21631 |
vulnerable | 2026-06-08 06:27:36.253338 |
Integer overflow in URI leading to potential host spoofing
MEDIUM (6.5)
Vapor is an HTTP web framework for Swift. Prior to version 4.90.0, Vapor's `vapor_urlparser_parse` function uses `uint16_t` indexes when parsing a URI's components, which may cause integer overflows when parsing untrusted inputs. This vulnerability does not affect Vapor directly but could impact applications relying on the URI type for validating user input. The URI type is used in several places in Vapor. A developer may decide to use URI to represent a URL in their application (especially if that URL is then passed to the HTTP Client) and rely on its public properties and methods. However, URI may fail to properly parse a valid (albeit abnormally long) URL, due to string ranges being converted to 16-bit integers. An attacker may use this behavior to trick the application into accepting a URL to an untrusted destination. By padding the port number with zeros, an attacker can cause an integer overflow to occur when the URL authority is parsed and, as a result, spoof the host. Version 4.90.0 contains a patch for this issue. As a workaround, validate user input before parsing as a URI or, if possible, use Foundation's `URL` and `URLComponents` utilities.
Published: 2024-01-03T16:55:02.356Z
Updated: 2024-09-18T17:28:33.910Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2023-44386 |
vulnerable | 2026-06-08 06:12:40.885159 |
Incorrect request error handling triggers server crash in Vapor
MEDIUM (5.3)
Vapor is an HTTP web framework for Swift. There is a denial of service vulnerability impacting all users of affected versions of Vapor. The HTTP1 error handler closed connections when HTTP parse errors occur instead of passing them on. The issue is fixed as of Vapor release 4.84.2.
Published: 2023-10-05T17:41:38.379Z
Updated: 2024-09-19T17:58:26.048Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2022-31019 |
vulnerable | 2026-06-08 05:43:39.994337 |
DoS Vulnerability in URLEncodedFormDecoder in Vapor
HIGH (7.5)
Vapor is a server-side Swift HTTP web framework. When using automatic content decoding an attacker can craft a request body that can make the server crash with the following request: `curl -d "array[_0][0][array][_0][0][array]$(for f in $(seq 1100); do echo -n '[_0][0][array]'; done)[string][_0]=hello%20world" http://localhost:8080/foo`. The issue is unbounded, attacker controlled stack growth which will at some point lead to a stack overflow and a process crash. This issue has been fixed in version 4.61.1.
Published: 2022-06-06T21:05:20.000Z
Updated: 2025-04-22T17:54:38.010Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2022-31005 |
vulnerable | 2026-06-08 05:43:39.960827 |
Integer Overflow in Vapor's HTTP Range Request
HIGH (7.5)
Vapor is an HTTP web framework for Swift. Users of Vapor prior to version 4.60.3 with FileMiddleware enabled are vulnerable to an integer overflow vulnerability that can crash the application. Version 4.60.3 contains a patch for this issue. As a workaround, disable FileMiddleware and serve via a Content Delivery Network.
Published: 2022-05-31T19:35:11.000Z
Updated: 2025-04-22T17:55:35.387Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2021-32742 |
vulnerable | 2026-06-08 05:32:07.937178 |
Untrusted data fed into `Data.init(base32Encoded:)` can result in exposing server memory and/or crash
HIGH (7.5)
Vapor is a web framework for Swift. In versions 4.47.1 and prior, bug in the `Data.init(base32Encoded:)` function opens up the potential for exposing server memory and/or crashing the server (Denial of Service) for applications where untrusted data can end up in said function. Vapor does not currently use this function itself so this only impact applications that use the impacted function directly or through other dependencies. The vulnerability is patched in version 4.47.2. As a workaround, one may use an alternative to Vapor's built-in `Data.init(base32Encoded:)`.
Published: 2021-07-09T14:00:11.000Z
Updated: 2024-08-03T23:33:54.911Z |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2021-21328 |
vulnerable | 2026-06-08 05:29:11.619567 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2020-15230 |
vulnerable | 2026-06-08 05:19:25.553262 | db.gcve.eu details were skipped to keep the page responsive. | Imported from gcve-enriched-dumps CVE data |
Contribute
You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.