VDB
KO
LOW

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

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / aiohttp
Introduced in: 0 Fixed in: 3.13.4
Fix pip install --upgrade 'aiohttp>=3.13.4'

References