CVE-2021-32742

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
Configurations

Configuration 1

cpe:2.3:a:vapor_project:vapor:*:*:*:*:*:swift:*:*

Information

Published : 2021-07-09 02:15

Updated : 2021-07-22 12:54


NVD link : CVE-2021-32742

Mitre link : CVE-2021-32742

Products Affected
No products.
CWE
CWE-502

Deserialization of Untrusted Data