ADVISORIES

GitHub Advisory Database

GHSA-2vrm-gr82-f7m5

AIOHTTP has CRLF injection through multipart part content type header construction

Details

Summary

An attacker who controls the content_type parameter in aiohttp could use this to inject extra headers or similar exploits.

Impact

If an application allows untrusted data to be used for the multipart content_type parameter when constructing a request, an attacker may be able to manipulate the request to send something other than what the developer intended.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/9a6ada97e2c6cf1ce31727c6c9fcea17c21f6f06

Affected packages

EcosystemPackageAffected versions
PyPIaiohttp
All versions before 3.13.4 (fixed in 3.13.4)

References