Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-32742

26
FAUCET Score

CVE-2021-32742 is a critical vulnerability affecting Vapor, a web framework for Swift, specifically in versions 4.47.1 and prior. A bug in the Data.init(base32Encoded:) function can lead to server memory exposure or denial of service if untrusted data is processed by this function. The vulnerability has a CVSS score of 9.1 (CRITICAL), indicating it can be exploited remotely with low complexity, potentially leading to high confidentiality and availability impacts. While Vapor itself doesn't directly use the function, applications or dependencies that do are at risk. There is no evidence of active exploitation, public exploit code, or significant community discussion, and it is not listed on CISA's KEV catalog.

Impacted Technologies

VendorProductVersion(s)CPE
< 4.47.2CPE matchmatch criteria
cpe:2.3:a:vapor_project:vapor:*:*:*:*:*:swift:*:*

CVSS Data

CVSS version used by this source: 3.1

7.5HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.6
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.20%
Probability of exploitation in next 30 days
EPSS Percentile
64.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0120 is in the 51st percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (1)

swiftpatch availablevia ghsa
Product: github.com/vapor/vaporFixed in: 4.47.2

Vendor Advisories (1)

swiftGHSA-pqwh-c2f3-vxmqmedium

Untrusted data fed into `Data.init(base32Encoded:)` can result in exposing server memory and/or crash

Jun 9, 2023

References

github.com / vapor/vapor/releases/tag/4.47.2
Release NotesThird Party Advisory
github.com / vapor/vapor/security/advisories/GHSA-pqwh-c2f3-vxmq
Third Party Advisory