Update dependency aiohttp to v3.8.5 [SECURITY] #220
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==3.8.4
->==3.8.5
GitHub Vulnerability Alerts
CVE-2023-37276
Impact
aiohttp v3.8.4 and earlier are bundled with llhttp v6.0.6 which is vulnerable to CVE-2023-30589. The vulnerable code is used by aiohttp for its HTTP request parser when available which is the default case when installing from a wheel.
This vulnerability only affects users of aiohttp as an HTTP server (ie
aiohttp.Application
), you are not affected by this vulnerability if you are using aiohttp as an HTTP client library (ieaiohttp.ClientSession
).Reproducer
Sending a crafted HTTP request will cause the server to misinterpret one of the HTTP header values leading to HTTP request smuggling.
Patches
Upgrade to the latest version of aiohttp to resolve this vulnerability. It has been fixed in v3.8.5:
pip install aiohttp >= 3.8.5
Workarounds
If you aren't able to upgrade you can reinstall aiohttp using
AIOHTTP_NO_EXTENSIONS=1
as an environment variable to disable the llhttp HTTP request parser implementation. The pure Python implementation isn't vulnerable to request smuggling:References
Release Notes
aio-libs/aiohttp (aiohttp)
v3.8.5
: 3.8.5Compare Source
Security bugfixes
Upgraded the vendored copy of llhttp_ to v8.1.1 -- by :user:
webknjaz
and :user:
Dreamsorcerer
.Thanks to :user:
sethmlarson
for reporting this and providing us withcomprehensive reproducer, workarounds and fixing details! For more
information, see
GHSA-45c4-8wx5-qw6w.
.. _llhttp: https://llhttp.org
(#7346)
Features
Added information to C parser exceptions to show which character caused the error. -- by :user:
Dreamsorcerer
(#7366)
Bugfixes
Fixed a transport is :data:
None
error -- by :user:Dreamsorcerer
.(#3355)
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.