Miggo Logo

CVE-2019-8849: SwiftNIO SSL arbitrary code execution vulnerability

9.8

CVSS Score
3.1

Basic Information

EPSS Score
0.68246%
CWE
-
Published
5/24/2022
Updated
6/19/2023
KEV Status
No
Technology
TechnologySwift

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/apple/swift-nio-sslswift< 2.4.12.4.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

* Swi*tNIO *ppli**tion usin* TLS m*y ** **l* to *x**ut* *r*itr*ry *o**. T** issu* w*s ***r*ss** *y si*n*lin* t**t *n *x**ut**l* st**k is not r*quir**. T*is issu* is *ix** in Swi*tNIO SSL *.*.*.

Reasoning

T** vuln*r**ility st*ms *rom improp*r st**k prot**tion m****nisms in t** *uil* *on*i*ur*tion r*t**r t**n sp**i*i* *un*tions in t** sour** *o**. T** **visory in*i**t*s t** issu* w*s r*solv** *y 'si*n*lin* t**t *n *x**ut**l* st**k is not r*quir**,' w*i