CVE-2016-8638: Ipsilon Session Fixation Vulnerability
CRITICALCVE-2016-8638 is a CRITICAL (CVSS 9.1) session fixation vulnerability (CWE-384: Session Fixation) affecting Ipsilon libraries in the PyPI ecosystem. The issue involves session fixation in ipsilon. Remediation is available by upgrading affected packages to version 2.0.2, 1.2.1, 1.1.2, 1.0.3.
CVE-2016-8638 at a Glance
Security Impact
CVSS: 9.1
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:N/S:U/C:H/I:N/A:H).
How to Fix CVE-2016-8638
To remediate this vulnerability, upgrade all affected Ipsilon 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 ipsilon>=2.0.2
pip install ipsilon>=1.2.1
pip install ipsilon>=1.1.2
pip install ipsilon>=1.0.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ipsilon
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2016-8638, inspect your installed packages using pip:
pip show ipsilon
Analyze the terminal output to locate any version of Ipsilon in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.2), your application is affected.
Note: The pip show ipsilon 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 Ipsilon, 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-2016-8638 Affected Ipsilon Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ipsilon
|
PyPI |
≥ 2.0.0
< 2.0.2
|
2.0.2
|
|
ipsilon
|
PyPI |
≥ 1.2.0
< 1.2.1
|
1.2.1
|
|
ipsilon
|
PyPI |
≥ 1.1.0
< 1.1.2
|
1.1.2
|
|
ipsilon
|
PyPI |
≥ 1.0.0
< 1.0.3
|
1.0.3
|
References
Frequently Asked Questions
What is CVE-2016-8638?
Which Ipsilon versions are affected?
What version fixes CVE-2016-8638?
Is ipsilon affected?
What is the CVSS score of CVE-2016-8638?
What CWE is associated with CVE-2016-8638?
How can I check PyPI dependencies for CVE-2016-8638?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-376m-3rm2-9jm6",
"modified" : "2023-02-14T00:46:20Z",
"published" : "2022-05-14T03:55:23Z",
"aliases" : [ "CVE-2016-8638" ],
"summary" : "Session Fixation in ipsilon",
"details" : "A vulnerability in ipsilon 2.0 before 2.0.2, 1.2 before 1.2.1, 1.1 before 1.1.2, and 1.0 before 1.0.3 was found that allows attacker to log out active sessions of other users. This issue is related to how it tracks sessions, and allows an unauthenticated attacker to view and terminate active sessions from other users. It is also called a \"SAML2 multi-session vulnerability.\"",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ipsilon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.0.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ipsilon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.2.0"
}, {
"fixed" : "1.2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ipsilon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.1.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ipsilon"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-8638"
}, {
"type" : "WEB",
"url" : "https://github.com/ipsilon-project/ipsilon/commit/1c48414877fc110652b6078a29529972c7ec9122"
}, {
"type" : "WEB",
"url" : "https://github.com/ipsilon-project/ipsilon/commit/64fc366c054fc6af1d9d2692902db169884b5f78"
}, {
"type" : "WEB",
"url" : "https://github.com/ipsilon-project/ipsilon/commit/a33303b6beb5c316d7c18b23566b7666a4e307a4"
}, {
"type" : "WEB",
"url" : "https://github.com/ipsilon-project/ipsilon/commit/b4744a92d4fa7f6d7ade0ae2d99a2dc0ea94734d"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2016:2809"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2016-8638"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1392829"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8638"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ipsilon-project/ipsilon"
}, {
"type" : "WEB",
"url" : "https://ipsilon-project.org/advisory/CVE-2016-8638.txt"
}, {
"type" : "WEB",
"url" : "https://ipsilon-project.org/release/2.1.0.html"
}, {
"type" : "WEB",
"url" : "https://pagure.io/ipsilon/c/511fa8b7001c2f9a42301aa1d4b85aaf170a461c"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2016-2809.html"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/94439"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-384" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-14T00:46:20Z",
"nvd_published_at" : "2017-07-12T13:29:00Z"
}
}