CVE-2019-8849: SwiftNIO SSL arbitrary code execution vulnerability
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.68246%
CWE
-
Published
5/24/2022
Updated
6/19/2023
KEV Status
No
Technology
Swift
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/apple/swift-nio-ssl | swift | < 2.4.1 | 2.4.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper stack protection mechanisms in the build configuration rather than specific functions in the source code. The advisory indicates the issue was resolved by 'signaling that an executable stack is not required,' which typically involves linker/compiler flags (e.g., -z noexecstack
) rather than function-level code changes. Without access to commit diffs or patch details, we cannot identify specific vulnerable functions with high confidence. The root cause likely resides in build system configurations or assembly-level code generation that inadvertently allowed an executable stack, but no SwiftNIO SSL source code functions are explicitly implicated in the provided information.