Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-31027

4.2 · MEDIUM
Published Jun 9, 2022 jupyter CWE-639 EPSS 0.46% (38th pctl)

Overview

CVE-2022-31027 is a medium-severity vulnerability affecting jupyter oauthenticator. It was published on June 9, 2022 and has a CVSS 3.1 base score of 4.2 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.2, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

OAuthenticator is an OAuth token library for the JupyerHub login handler. CILogonOAuthenticator is provided by the OAuthenticator package, and lets users log in to a JupyterHub via CILogon. This is primarily used to restrict a JupyterHub only to users of a given institute. The allowed_idps configuration trait of CILogonOAuthenticator is documented to be a list of domains that indicate the institutions whose users are authorized to access this JupyterHub. This authorization is validated by ensuring that the *email* field provided to us by CILogon has a *domain* that matches one of the domains listed in `allowed_idps`.If `allowed_idps` contains `berkeley.edu`, you might expect only users with valid current credentials provided by University of California, Berkeley to be able to access the JupyterHub. However, CILogonOAuthenticator does *not* verify which provider is used by the user to login, only the email address provided. So a user can login with a GitHub account that has email set to

Remediation

Check the references section for vendor advisories and patches from jupyter. Update oauthenticator to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
jupyter oauthenticator >= 0, < 15.0.0 Affected

Frequently Asked Questions

What is CVE-2022-31027?

CVE-2022-31027 is a medium-severity vulnerability affecting jupyter oauthenticator. It was published on June 9, 2022 and has a CVSS 3.1 base score of 4.2 (MEDIUM).

How severe is CVE-2022-31027?

This vulnerability has a CVSS 3.1 base score of 4.2, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-31027?

Check the references section for vendor advisories and patches from jupyter. Update oauthenticator to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-31027?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-31027 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.