CRLF Injection Affecting package, versions <1.4.1 >=1.5.0 <1.9.1 >=1.10.0 <1.12.1 >=1.13.0 <1.13.2



    Attack Complexity Low
    User Interaction Required
    Integrity High

    Threat Intelligence

    EPSS 0.06% (24th percentile)
Expand this section
7.5 high

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
  • published 19 Jan 2023
  • disclosed 19 Jan 2023
  • credit Alessio Della Libera

How to fix?

Upgrade swift-server/async-http-client to version 1.4.1, 1.9.1, 1.12.1, 1.13.2 or higher.


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.