PyPI · aiohttp
AIOHTTP: Absolute-form request targets can spoof Request.scheme
An attacker sending an absolute-form request can spoof the scheme used.
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.
A WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).
Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.
Check my repoSources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.