CVE-2021-32742
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.20%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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:)`.
- CVSS 3.1
- 9.1 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- EPSS
- 1.20% probability · 66th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-502
- Affected
- vapor project/vapor
- Source
- security-advisories@github.com
References
- https://github.com/vapor/vapor/releases/tag/4.47.2Release Notes, Third Party Advisory
- https://github.com/vapor/vapor/security/advisories/GHSA-pqwh-c2f3-vxmqThird Party Advisory
- https://github.com/vapor/vapor/releases/tag/4.47.2Release Notes, Third Party Advisory
- https://github.com/vapor/vapor/security/advisories/GHSA-pqwh-c2f3-vxmqThird Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.