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

Configuration 1 (hide)

cpe:2.3:a:vapor_project:vapor:*:*:*:*:*:swift:*:*

History

21 Nov 2024, 06:07

Type Values Removed Values Added
CVSS v2 : 6.4
v3 : 9.1
v2 : 6.4
v3 : 7.5
References () https://github.com/vapor/vapor/releases/tag/4.47.2 - Release Notes, Third Party Advisory () https://github.com/vapor/vapor/releases/tag/4.47.2 - Release Notes, Third Party Advisory
References () https://github.com/vapor/vapor/security/advisories/GHSA-pqwh-c2f3-vxmq - Third Party Advisory () https://github.com/vapor/vapor/security/advisories/GHSA-pqwh-c2f3-vxmq - Third Party Advisory

22 Jul 2021, 12:54

Type Values Removed Values Added
CPE cpe:2.3:a:vapor_project:vapor:*:*:*:*:*:swift:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 6.4
v3 : 9.1
CWE CWE-502
References (CONFIRM) https://github.com/vapor/vapor/security/advisories/GHSA-pqwh-c2f3-vxmq - (CONFIRM) https://github.com/vapor/vapor/security/advisories/GHSA-pqwh-c2f3-vxmq - Third Party Advisory
References (MISC) https://github.com/vapor/vapor/releases/tag/4.47.2 - (MISC) https://github.com/vapor/vapor/releases/tag/4.47.2 - Release Notes, Third Party Advisory

09 Jul 2021, 15:01

Type Values Removed Values Added
New CVE

Information

Published : 2021-07-09 14:15

Updated : 2024-11-21 06:07


NVD link : CVE-2021-32742

Mitre link : CVE-2021-32742

CVE.ORG link : CVE-2021-32742


JSON object : View

Products Affected

vapor_project

  • vapor
CWE
CWE-502

Deserialization of Untrusted Data