CVE-2022-33124: AIOHTTP 3.8.1 Denial of Service Vulnerability

aiohttp Updated 02 Oct 2025

Summary

23/06/2022
N/A
No i
Medium
5.5

PYSEC-2022-43059: AIOHTTP 3.8.1 can report a "ValueError: Invalid IPv6 URL" outcome, which can lead to a Denial of Service (DoS). Affects aiohttp versions 0.1 – 4.0.0a1. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

AIOHTTP is a Python package available on PyPI that provides an asynchronous HTTP client and server implementation. It is widely used for building web applications and APIs. The package allows developers to make HTTP requests and handle responses asynchronously, making it suitable for high-performance applications. However, AIOHTTP version 3.8.1 is vulnerable to a Denial of Service (DoS) attack.

Vulnerability Detail

The vulnerability in AIOHTTP 3.8.1 is triggered by a "ValueError: Invalid IPv6 URL" outcome. Although there is no concrete example of a context in which a denial of service would occur, the possibility exists. The vulnerability can potentially be exploited to disrupt the normal functioning of an application that relies on AIOHTTP, leading to service unavailability. It is important to note that many common contexts have exception handling in the calling application, which may mitigate the impact of this vulnerability.

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

As there is no concrete example of a context in which a denial of service would occur, and many common contexts have exception handling in the calling application, there is no specific workaround provided for this vulnerability.

Conclusion

AIOHTTP version 3.8.1 is vulnerable to a Denial of Service (DoS) attack. Although there is no concrete example of a context in which a denial of service would occur, it is important to address this vulnerability by upgrading to a non-affected version of AIOHTTP. Developers should check the official documentation or the PyPI page for the latest version and update their dependencies accordingly. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for aiohttp →

Share this vulnerability

FAQ

AIOHTTP is a Python package that provides an asynchronous HTTP client and server implementation. It is commonly used for building web applications and APIs.

The vulnerability in AIOHTTP 3.8.1 can potentially lead to a Denial of Service (DoS) attack, causing service unavailability for applications relying on AIOHTTP.

There is no known exploit for this vulnerability at the moment. However, it is still important to address it by upgrading to a non-affected version of AIOHTTP.

Many common contexts have exception handling in the calling application, which may mitigate the impact of this vulnerability. However, upgrading to a non-affected version is still recommended.

For more information about this vulnerability, you can refer to the official AIOHTTP documentation or the PyPI page for AIOHTTP.

Related vulnerabilities

Recent vulnerabilities recorded for 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