CVE-2021-32742
Summary
| CVE | CVE-2021-32742 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-07-09 14:15:00 UTC |
| Updated | 2021-07-22 12:54:00 UTC |
| 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:)`. |
Risk And Classification
Problem Types: CWE-502
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Vapor Project | Vapor | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Untrusted data fed into `Data.init(base32Encoded:)` can result in exposing server memory and/or crash · Advisory · vapor/vapor · GitHub | CONFIRM | github.com | |
| Release Guard against invalid base32 encoded data · vapor/vapor · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.