Sensitive information sent insecurely In aiohttp
Description
AIOHTTP is vulnerable to cross-origin redirect with per-request cookies
Summary
Cookies set with the cookies parameter on requests are sent after following a cross-origin redirect.
Impact
If a developer uses the cookies parameter on a per-request basis then sensitive data might be leaked to an attacker if they manage to control a redirect.
Workaround
If unable to upgrade, using a Cookie header in the headers parameter is not vulnerable.
Patch: https://github.com/aio-libs/aiohttp/commit/f54c40851b0d6c4bbdab97ba518a223adda32478
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | - | ||
debian 13 | - | ||
pypi | 3.14.0 | ||
debian 14 | 3.14.0-1 |
Aliases
1. 2. 3. 4. 5. 6. 7.
References
1. 2.