ADVISORIES

GitHub Advisory Database

GHSA-f9xw-jh8m-3mwq

AIOHTTP: Absolute-form request targets can spoof Request.scheme

Details

Summary

An attacker sending an absolute-form request can spoof the scheme used.

Impact

If user code depends on the Request.scheme attribute for anything security related, an attacker may be able to circumvent this logic, tricking the application into thinking a connection is encrypted when it is not, or vice versa.

Workaround

A WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).

Affected packages

EcosystemPackageAffected versions
PyPIaiohttp
All versions before 3.14.4 (fixed in 3.14.4)

References