Critical Header Parsing Vulnerability in Python Aiohttp Package

python-aiohttp Updated 02 Oct 2025

Summary

14/11/2023
N/A
No i
Medium
5.3

UBUNTU-CVE-2023-47627: aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Affects python-aiohttp versions 2.2.3-1build1 – 3.0.1-1ubuntu0.1~esm5. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Python Aiohttp is an asynchronous HTTP client/server framework designed for asyncio and Python. It allows developers to create web applications and services that can handle multiple requests simultaneously without blocking. The package is widely used for building RESTful APIs and web applications due to its efficiency and ease of use. However, it has recently been identified as vulnerable to a critical issue related to header parsing, which could lead to serious security implications.

Vulnerability Detail

The vulnerability in the Aiohttp package arises from flaws in its HTTP parser, which can mishandle header parsing under certain conditions. This can lead to request smuggling attacks, where an attacker could manipulate HTTP requests to bypass security controls or inject malicious payloads. The issue is particularly concerning when the AIOHTTP_NO_EXTENSIONS flag is enabled or when a prebuilt wheel is not used. The vulnerability has been addressed in version 3.8.6, and users are strongly advised to upgrade to mitigate potential risks.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no known workarounds for this vulnerability. Users are advised to upgrade to the patched versions as soon as possible to ensure their applications are secure.

Conclusion

The Python Aiohttp package has a critical vulnerability related to header parsing that could lead to request smuggling attacks. Users are strongly encouraged to upgrade to the patched versions to protect their applications. Regular monitoring for vulnerabilities using tools like Vulert can help maintain security in open-source software.

See every vulnerability recorded for python-aiohttp →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 5.3, indicating a medium severity level.

If exploited, this vulnerability could allow attackers to perform request smuggling, potentially bypassing security measures and injecting malicious content.

Yes, the vulnerability has been patched in version 3.8.6 of the Aiohttp package. Users should upgrade to this version or later.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup.

While there are no workarounds available, it is crucial to prioritize upgrading the package to mitigate the risks associated with this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for python-aiohttp.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback