CVE Catalog

CVE-2025-69227

High
Published: Translated: NVD NIST

Summary

AIOHTTP versions 3.13.2 and below contain a vulnerability that allows an infinite loop to occur when assert statements are bypassed, resulting in a DoS attack when processing a POST body. If optimizations are enabled (-O or PYTHONOPTIMIZE=1) and the application includes a handler using Request.post(), an attacker may execute a DoS attack with a specially crafted message. This issue is fixed in version 3.13.3.

Risk Assessment

The risk is the possibility of a Denial of Service (DoS) attack on the application, which can lead to service unavailability for users. The vulnerability requires specific conditions (enabled optimizations and use of Request.post()) but can be exploited remotely.

Recommendation

It is recommended to immediately upgrade AIOHTTP to version 3.13.3 or later. If upgrading is not possible, avoid using the Request.post() method or disable Python optimizations (-O, PYTHONOPTIMIZE) in the production environment.

Other vulnerabilities in AIOHTTP

See all
Original NVD description (English source)

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Versions 3.13.2 and below allow for an infinite loop to occur when assert statements are bypassed, resulting in a DoS attack when processing a POST body. If optimizations are enabled (-O or PYTHONOPTIMIZE=1), and the application includes a handler that uses the Request.post() method, then an attacker may be able to execute a DoS attack with a specially crafted message. This issue is fixed in version 3.13.3.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS