CVE-2021-32742

CVSS V2 Medium 6.4 CVSS V3 Critical 9.1
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:)`.
Overview
  • CVE ID
  • CVE-2021-32742
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-07-09T14:15:07
  • Last Modified Date
  • 2021-07-22T12:54:30
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:vapor_project:vapor:*:*:*:*:*:swift:*:* 1 OR 4.47.2
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:N/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • NONE
  • Availability Impact
  • PARTIAL
  • Base Score
  • 6.4
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 4.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.1
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.2
References
Reference URL Reference Tags
https://github.com/vapor/vapor/security/advisories/GHSA-pqwh-c2f3-vxmq Third Party Advisory
https://github.com/vapor/vapor/releases/tag/4.47.2 Release Notes Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 15:54:33 Added to TrackCVE
2022-12-05 05:41:29 2021-07-09T14:15Z 2021-07-09T14:15:07 CVE Published Date updated
2022-12-05 05:41:29 2021-07-22T12:54:30 CVE Modified Date updated
2022-12-05 05:41:29 Analyzed Vulnerability Status updated