CVE-2022-1642 is a denial-of-service vulnerability affecting programs using swift-corelibs-foundation on Linux and Windows. It arises from a type mismatch during JSON deserialization when a malicious JSON document with a floating-point number is provided where an integer is expected. This vulnerability has a CVSS score of 7.5 (HIGH), indicating it can be exploited remotely with low attack complexity, leading to a complete loss of availability. While there are no known active exploits or publicly available exploit code, and minimal community discussion, the attack is low-effort and can cause deterministic crashes. Organizations should update to Swift 5.6.2 for Linux and Windows to mitigate this risk.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 5.6.2CPE matchmatch criteria | cpe:2.3:a:apple:swift:*:*:*:*:*:linux:*:* | ||
< 5.6.2CPE matchmatch criteria | cpe:2.3:a:apple:swift:*:*:*:*:*:windows:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.