CVE-2018-7206 JupyterHub OAuthenticator elevation of privilege

High 8.8 Published Updated

Attackers outside whitelisted GitLab groups can create unauthorized accounts on JupyterHub when group whitelisting is enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-7206?

CVE-2018-7206 is a high-severity authentication bypass vulnerability in n/a, published on 18 Feb 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.)

Which versions are affected by CVE-2018-7206?

5 open source packages ship an affected version, including oauthenticator. It affects 1 product.

PackageAffectedFixed in
oauthenticator PyPIFrom 0.60.6.2, 0.7.3
oauthenticator PyPIFrom 0.60.6.2
oauthenticator PyPIFrom 0.60.6.2
oauthenticator PyPIFrom 0.70.7.3
oauthenticator PyPIFrom 0.70.7.3

Products include Jupyter Oauthenticator.

How do I fix CVE-2018-7206?

Upgrade oauthenticator to a fixed version for your release line: 0.6.2 or 0.7.3.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2018-7206 being exploited?

There is no known exploitation of CVE-2018-7206 in the wild and no public exploit code.

Sources

Also known as GHSA-8x3m-m3x9-54fj, PYSEC-2018-68.

Is CVE-2018-7206 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free