CVE-2021-32742
Last modified
CVE-2021-32742 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 1.20% chance of exploitation in the next 30 days.
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:)`.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vapor Project | Vapor | < 4.47.2 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-32742?
How severe is CVE-2021-32742?
How do I fix CVE-2021-32742?
Are you affected by CVE-2021-32742?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
