CVE-2021-32742
Last modified
CVE-2021-32742 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 1.20% chance of exploitation in the next 30 days.
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:)`.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vapor Project | Vapor | < 4.47.2 |
References
- https://github.com/vapor/vapor/releases/tag/4.47.2Release Notes, Third Party Advisory
- https://github.com/vapor/vapor/security/advisories/GHSA-pqwh-c2f3-vxmqThird Party Advisory
- https://github.com/vapor/vapor/releases/tag/4.47.2Release Notes, Third Party Advisory
- https://github.com/vapor/vapor/security/advisories/GHSA-pqwh-c2f3-vxmqThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-32742?
How severe is CVE-2021-32742?
How do I fix CVE-2021-32742?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-32736think-helper defines a set of helper functions for ThinkJS. …7.5
- CVE-2021-32737Sulu is an open-source PHP content management system based o…4.8
- CVE-2021-32738js-stellar-sdk is a Javascript library for communicating wit…6.5
- CVE-2021-32739Icinga is a monitoring system which checks the availability …8.8
- CVE-2021-32740Addressable is an alternative implementation to the URI impl…7.5
- CVE-2021-32741Nextcloud Server is a Nextcloud package that handles data st…5.3
- CVE-2021-32743Icinga is a monitoring system which checks the availability …8.8
- CVE-2021-32744Collabora Online is a collaborative online office suite. In …7.5
- CVE-2021-32745Collabora Online is a collaborative online office suite. A r…6.1
- CVE-2021-32746Icinga Web 2 is an open source monitoring web interface, fra…5.3
- CVE-2021-32747Icinga Web 2 is an open source monitoring web interface, fra…6.5
- CVE-2021-32748Nextcloud Richdocuments in an open source self hosted online…4.3
Are you affected by CVE-2021-32742?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
