cbcvebase.
CVE-2021-32742
published 2021-07-09

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…

PriorityP347critical9.1CVSS 3.1
AVNACLPRNUINSUCHINAH
EPSS
1.20%
64.3th percentile
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:)`.

Affected

5 ranges
VendorProductVersion rangeFixed in
github.comvapor_vapor>= 0 < 4.47.24.47.2
sambasamba>= 0 < 2:4.13.17~dfsg-0ubuntu1.20.04.12:4.13.17~dfsg-0ubuntu1.20.04.1
sambasamba>= 0 < 2:4.15.9+dfsg-0ubuntu0.22:4.15.9+dfsg-0ubuntu0.2
vaporvapor<= 4.47.1
vapor_projectvapor< 4.47.24.47.2

CVSS provenance

nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
osv6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.