CRLF Injection Affecting github.com/swift-server/async-http-client package, versions <1.4.1 >=1.5.0 <1.9.1 >=1.10.0 <1.12.1 >=1.13.0 <1.13.2
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SWIFT-SWIFTSERVERASYNCHTTPCLIENT-3237994
- published 19 Jan 2023
- disclosed 19 Jan 2023
- credit Alessio Della Libera
Introduced: 19 Jan 2023
CVE-2023-0040 Open this link in a new tabHow to fix?
Upgrade swift-server/async-http-client
to version 1.4.1, 1.9.1, 1.12.1, 1.13.2 or higher.
Overview
swift-server/async-http-client is a HTTP Client library built on top of SwiftNIO
Affected versions of this package are vulnerable to CRLF Injection due to insufficient validation of HTTP header field values before sending them to the network. Users are vulnerable if they pass untrusted data into HTTP header field values without prior sanitization. This vulnerability allows attackers to inject new HTTP header fields, or entirely new requests, into the data stream. This can cause requests to be understood very differently by the remote server than was intended. In general, this is unlikely to result in data disclosure, but it can result in a number of logical errors and other misbehaviours.