VDB
KO
MEDIUM

GHSA-w2fm-2cpv-w7v5

aiohttp allows unlimited trailer headers, leading to possible uncapped memory usage

Details

### Summary

Insufficient restrictions in header/trailer handling could cause uncapped memory usage.

### Impact

An application could cause memory exhaustion when receiving an attacker controlled request or response. A vulnerable web application could mitigate these risks with a typical reverse proxy configuration.

-----

Patch: https://github.com/aio-libs/aiohttp/commit/0c2e9da51126238a421568eb7c5b53e5b5d17b36

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