Live threats

All CVEs / Vapor Project

CVE-2021-32742Vapor Project Vapor

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
No
Published
Jul 9, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Vapor.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
vapor_projectvapor< 4.47.2

Official sources

References

Links published by the sources. Open them with care.