CVE-2018-7206: Oauthenticator JupyterHub OAuthenticator Elevation Of Privilege Vulnerability
HIGHCVE-2018-7206 is a HIGH (CVSS 8.8) jupyterhub oauthenticator elevation of privilege vulnerability (General Security Weakness) affecting Oauthenticator libraries in the PyPI ecosystem. The issue involves jupyterhub oauthenticator elevation of privilege. Remediation is available by upgrading affected packages to version 0.6.2, 0.7.3.
CVE-2018-7206 at a Glance
Security Impact
CVSS: 8.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2018-7206
To remediate this vulnerability, upgrade all affected Oauthenticator 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 oauthenticator>=0.6.2
pip install oauthenticator>=0.7.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show oauthenticator
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2018-7206, inspect your installed packages using pip:
pip show oauthenticator
Analyze the terminal output to locate any version of Oauthenticator in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.2), your application is affected.
Note: The pip show oauthenticator command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Oauthenticator, 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-7206 Affected Oauthenticator Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
oauthenticator
|
PyPI |
≥ 0.6
< 0.6.2
|
0.6.2
|
|
oauthenticator
|
PyPI |
≥ 0.7
< 0.7.3
|
0.7.3
|
References
Frequently Asked Questions
What is CVE-2018-7206?
Which Oauthenticator versions are affected?
What version fixes CVE-2018-7206?
Is oauthenticator affected?
What is the CVSS score of CVE-2018-7206?
What CWE is associated with CVE-2018-7206?
How can I check PyPI dependencies for CVE-2018-7206?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8x3m-m3x9-54fj",
"modified" : "2024-11-22T18:17:03Z",
"published" : "2022-05-13T01:12:09Z",
"aliases" : [ "CVE-2018-7206" ],
"summary" : "JupyterHub OAuthenticator elevation of privilege",
"details" : "An issue was discovered in Project Jupyter JupyterHub OAuthenticator 0.6.x before 0.6.2 and 0.7.x before 0.7.3. When using JupyterHub with GitLab group whitelisting for access control, group membership was not checked correctly, allowing members not in the whitelisted groups to create accounts on the Hub. (Users were not allowed to access other users' accounts, but could create their own accounts on the Hub linked to their GitLab account. GitLab authentication not using gitlab_group_whitelist is unaffected. No other Authenticators are affected.)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "oauthenticator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.6"
}, {
"fixed" : "0.6.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "oauthenticator"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.7"
}, {
"fixed" : "0.7.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-7206"
}, {
"type" : "WEB",
"url" : "https://github.com/jupyterhub/oauthenticator/commit/1845c0e4b1bff3462c91c3108c85205acd3c75a2"
}, {
"type" : "WEB",
"url" : "https://blog.jupyter.org/security-fix-for-jupyterhub-gitlab-oauthenticator-7b14571d1f76"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-8x3m-m3x9-54fj"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jupyterhub/oauthenticator"
}, {
"type" : "WEB",
"url" : "https://github.com/jupyterhub/oauthenticator/blob/8499dc2/CHANGELOG.md#073---2018-02-16"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/jupyterhub/PYSEC-2018-151.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/oauthenticator/PYSEC-2018-68.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-12T16:17:03Z",
"nvd_published_at" : "2018-02-18T03:29:00Z"
}
}