Vulnerabilities in pkg:pypi/aiohttp-session
PACKAGECVE-2018-1000519 is a HIGH (CVSS 6.5) aiohttp-session session fixation vulnerability vulnerability (CWE-384: Session Fixation) affecting Aiohttp session libraries in the PyPI ecosystem. The issue involves aiohttp-session session fixation vulnerability. Remediation is available by upgrading affected packages to version 2.4.0.
pkg:pypi/aiohttp-session
Vulnerability advisories affecting package pkg:pypi/aiohttp-session. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-fpwp-69xv-c67f | CVE-2018-1000519 | HIGH | aiohttp-session Session Fixation vulnerability |
| GHSA-mr4x-c4v9-x729 | CVE-2018-1000814 | HIGH | aiohttp-session creates non-expiring sessions |
CVE-2018-1000519 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N).
How to Fix CVE-2018-1000519
To remediate this vulnerability, upgrade all affected Aiohttp session dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install aiohttp-session>=2.4.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show aiohttp-session
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2018-1000519, inspect your installed packages using pip:
pip show aiohttp-session
Analyze the terminal output to locate any version of Aiohttp session in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.4.0), your application is affected.
Note: The pip show aiohttp-session command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-384: Session Fixation, where authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions. In Aiohttp session, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-1000519 Affected Aiohttp session Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aiohttp-session
|
PyPI |
< 2.4.0
|
2.4.0
|
References
Frequently Asked Questions
What is CVE-2018-1000519?
Which Aiohttp session versions are affected?
What version fixes CVE-2018-1000519?
Is aiohttp-session affected?
What is the CVSS score of CVE-2018-1000519?
What CWE is associated with CVE-2018-1000519?
How can I check PyPI dependencies for CVE-2018-1000519?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fpwp-69xv-c67f",
"modified" : "2025-07-11T23:17:38Z",
"published" : "2018-09-13T15:46:40Z",
"aliases" : [ "CVE-2018-1000519" ],
"summary" : "aiohttp-session Session Fixation vulnerability",
"details" : "The pypi package aiohttp-session before 2.4.0 contained a Session Fixation vulnerability in `load_session` function for RedisStorage that can result in Session Hijacking. This attack appear to be exploitable via Any method that allows setting session cookies (`?session=<>`, or meta tags or script tags with Set-Cookie).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "aiohttp-session"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.4.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1000519"
}, {
"type" : "WEB",
"url" : "https://github.com/aio-libs/aiohttp-session/issues/272"
}, {
"type" : "WEB",
"url" : "https://github.com/aio-libs/aiohttp-session/commit/6b7864004d3442dbcfaf8687f63262c1c629f569"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-fpwp-69xv-c67f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/aio-libs/aiohttp-session"
}, {
"type" : "WEB",
"url" : "https://github.com/aio-libs/aiohttp-session/blob/master/aiohttp_session/redis_storage.py#L60"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp-session/PYSEC-2018-80.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-384" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:35:06Z",
"nvd_published_at" : "2018-06-26T16:29:01Z"
}
}