CVE-2023-49082
aiohttp's ClientSession is vulnerable to CRLF injection via method
Reported by github_m · Published November 29, 2023
aiohttp is fixed in e4ae01c2077d2cfa116aa82e4ff6866857f7c466 and 3.9.0 (PyPI)
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Improper validation makes it possible for an attacker to modify the HTTP request (e.g. insert a new header) or even create a new HTTP request if the attacker controls the HTTP method. The vulnerability occurs only if the attacker can control the HTTP method (GET, POST etc.) of the request. If the attacker can control the HTTP version of the request it will be able to modify the request (request smuggling). 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 | e4ae01c2077d2cfa116aa82e4ff6866857f7c466, 3.9.0 |
| py3-cassandra-medusa | Chainguard | 0.19.1-r1 |
| aiohttp | aiohttp | 3.9.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| aio-libs | aiohttp | < 3.9.0 |
| aio-libs | aiohttp | |
| chainguard | py3-cassandra-medusa | 0 |
| aio-libs | aiohttp | 0 |
| wolfi | py3-cassandra-medusa | 0 |
| PyPI | aiohttp | 0 |
Timeline
- Nov 27, 2023 CVE Published
- Dec 1, 2023 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (8 in total, the first dated here)
- 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-49082
vulnetix vdb fixes CVE-2023-49082
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-49082/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-qvrw-v9rv-5rjx x_refsource_CONFIRM
- https://github.com/aio-libs/aiohttp/pull/7806/files x_refsource_MISC
- https://github.com/aio-libs/aiohttp/commit/e4ae01c2077d2cfa116aa82e4ff6866857f7c466 x_refsource_MISC
- https://gist.github.com/jnovikov/7f411ae9fe6a9a7804cf162a3bdbb44b x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2023-49082 advisory
- https://github.com/advisories/GHSA-qvrw-v9rv-5rjx advisory
- https://github.com/aio-libs/aiohttp url
- https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-251.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