Recent Apple Swiftnio Security Advisories
|HT210772||SwiftNIO SSL 2.4.1 Security Content||October 4, 2019|
|HT210436||SwiftNIO HTTP/2 1.5.0 Security Content||August 13, 2019|
|HT208921||SwiftNIO 1.8.0 Security Content||June 27, 2018|
By the Year
In 2022 there have been 1 vulnerability in Apple Swiftnio with an average score of 7.5 out of ten. Swiftnio did not have any published security vulnerabilities last year. That is, 1 more vulnerability have already been reported in 2022 as compared to last year.
It may take a day or so for new Swiftnio vulnerabilities to show up in the stats or in the list of recent security vulnerabilties. Additionally vulnerabilities may be tagged under a different product or component name.
Recent Apple Swiftnio Security Vulnerabilities
NIOHTTP1 and projects using it for generating HTTP responses can be subject to a HTTP Response Injection attack
7.5 - High
- September 28, 2022
NIOHTTP1 and projects using it for generating HTTP responses can be subject to a HTTP Response Injection attack. This occurs when a HTTP/1.1 server accepts user generated input from an incoming request and reflects it into a HTTP/1.1 response header in some form. A malicious user can add newlines to their input (usually in encoded form) and "inject" those newlines into the returned HTTP response. This capability allows users to work around security headers and HTTP/1.1 framing headers by injecting entirely false responses or other new headers. The injected false responses may also be treated as the response to subsequent requests, which can lead to XSS, cache poisoning, and a number of other flaws. This issue was resolved by adding validation to the HTTPHeaders type, ensuring that there's no whitespace incorrectly present in the HTTP headers provided by users. As the existing API surface is non-failable, all invalid characters are replaced by linear whitespace.
In SwiftNIO before 1.8.0
9.8 - Critical
- January 11, 2019
In SwiftNIO before 1.8.0, a buffer overflow was addressed with improved size validation.