CVE-2021-32742

HIGH

Vapor < 4.47.2 - Denial of Service via Data.init(base32Encoded:)

Title source: llm
STIX 2.1

Description

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:)`.

References (2)

Core 2
Core References
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/vapor/vapor/releases/tag/4.47.2

Scores

CVSS v3 7.5
EPSS 0.0120
EPSS Percentile 64.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-502
Status published
Products (2)
SwiftURL/github.com/vapor/vapor 0 - 4.47.2SwiftURL
vapor_project/vapor < 4.47.2
Published Jul 09, 2021
Tracked Since Feb 18, 2026