CVE-2023-49081
aiohttp's ClientSession is vulnerable to CRLF injection via version
Reported by github_m · Published November 30, 2023
aiohttp is fixed in 3.9.0 and 1e86b777e61cf4eefc7d92fa57fa19dcc676013b (PyPI)
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Improper validation made it possible for an attacker to modify the HTTP request (e.g. to insert a new header) or create a new HTTP request if the attacker controls the HTTP version. The vulnerability only occurs if the attacker can control the HTTP version of the request. This issue has been patched in version 3.9.0.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| aiohttp | PyPI | 3.9.0, 1e86b777e61cf4eefc7d92fa57fa19dcc676013b |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| aio-libs | aiohttp | < 3.9.0 |
| aio-libs | aiohttp | 0 |
| PyPI | aiohttp | 0 |
| wolfi | py3-cassandra-medusa | 0 |
| chainguard | py3-cassandra-medusa | 0 |
Timeline
- Nov 27, 2023 CVE Published
- Dec 1, 2023 EPSS Score (30 in total, the first dated here)
- Mar 20, 2024 GitHub Gist PoC
- Oct 5, 2024 Coalition ESS Score (25 in total, the first dated here)
- Jan 26, 2026 CVE Updated
- Jan 27, 2026 Security Advisory (11 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (10 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-49081
vulnetix vdb fixes CVE-2023-49081
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-49081/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-q3qx-c6g2-7pw2 x_refsource_CONFIRM
- https://github.com/aio-libs/aiohttp/pull/7835/files x_refsource_MISC
- https://github.com/aio-libs/aiohttp/commit/1e86b777e61cf4eefc7d92fa57fa19dcc676013b x_refsource_MISC
- https://gist.github.com/jnovikov/184afb593d9c2114d77f508e0ccd508e x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2023-49081 advisory
- https://github.com/advisories/GHSA-q3qx-c6g2-7pw2 advisory
- https://github.com/aio-libs/aiohttp url
- https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-250.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TY5SI6NK5243DEEDQUFKQKW5GQNKQUMA url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A url
- https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A/ url