cve.bz

CVE-2023-0040 asynchttpclient project async-http-client: Injection

7.5 highEPSS 0.6%Fix available

High (7.5) in asynchttpclient project async-http-client. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/swift-server/async-http-client 1.12.1, 1.13.2, 1.4.1.

On this page
Versions of Async HTTP Client prior to 1.13.2 are vulnerable to a form of targeted request manipulation called CRLF injection. This vulnerability was the result of 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 sanitisation. Common use-cases here might be to place usernames from a database into HTTP header fields. 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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
CWE-93 Improper Neutralization of CRLF Sequences (CRLF Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/swift-server/async-http-client (SwiftURL): fixed in 1.13.2, 1.12.1, 1.9.1, 1.4.1

Ask an AI about this CVE

Show the promptExplain CVE-2023-0040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-0040?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-0040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-0040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Swift Project Async HTTP Clientthrough 1.13.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v3r5-pjpm-mwgqSwiftURLgithub.com/swift-server/async-http-client>=1.13.0 <1.13.21.13.2
GHSA-v3r5-pjpm-mwgqSwiftURLgithub.com/swift-server/async-http-client>=1.10.0 <1.12.11.12.1
GHSA-v3r5-pjpm-mwgqSwiftURLgithub.com/swift-server/async-http-client>=1.5.0 <1.9.11.9.1
GHSA-v3r5-pjpm-mwgqSwiftURLgithub.com/swift-server/async-http-client<1.4.11.4.1

Attack patterns (CAPEC)

  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON