Improper Input Validation Affecting python-aiohttp package, versions <3.9.1-1
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-DEBIANUNSTABLE-PYTHONAIOHTTP-6096085
- published 1 Dec 2023
- disclosed 29 Nov 2023
How to fix?
Upgrade Debian:unstable
python-aiohttp
to version 3.9.1-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream python-aiohttp
package and not the python-aiohttp
package as distributed by Debian
.
See How to fix?
for Debian:unstable
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2023-49082
- https://gist.github.com/jnovikov/7f411ae9fe6a9a7804cf162a3bdbb44b
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-qvrw-v9rv-5rjx
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TY5SI6NK5243DEEDQUFKQKW5GQNKQUMA/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A/
- https://github.com/aio-libs/aiohttp/commit/e4ae01c2077d2cfa116aa82e4ff6866857f7c466
- https://github.com/aio-libs/aiohttp/pull/7806/files