CVE-2022-31027
Last modified
CVE-2022-31027 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.43% chance of exploitation in the next 30 days.
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 `<something>@berkeley.edu`, and that will be treated exactly the same as someone logging in using the UC Berkeley official Identity Provider. The patch fixing this issue makes a *breaking change* in how `allowed_idps` is interpreted. It's no longer a list of domains, but configuration representing the `EntityID` of the IdPs that are allowed, picked from the [list maintained by CILogon](https://cilogon.org/idplist/). Users are advised to upgrade.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jupyter | Oauthenticator | < 15.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31027?
How severe is CVE-2022-31027?
How do I fix CVE-2022-31027?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-31021Ursa is a cryptographic library for use with blockchains. A …5.3
- CVE-2022-31022Bleve is a text indexing library for go. Bleve includes HTTP…5.5
- CVE-2022-31023Play Framework is a web framework for Java and Scala. Verion…7.5
- CVE-2022-31024richdocuments is the repository for NextCloud Collabra, the …6.5
- CVE-2022-31025Discourse is an open source platform for community discussio…5.3
- CVE-2022-31026Trilogy is a client library for MySQL. When authenticating, …7.5
- CVE-2022-31028MinIO is a multi-cloud object storage solution. Starting wit…7.5
- CVE-2022-31029AdminLTE is a Pi-hole Dashboard for stats and configuration.…4.8
- CVE-2022-3103off-by-one in io_uring module.7.8
- CVE-2022-31030containerd is an open source container runtime. A bug was fo…5.5
- CVE-2022-31031PJSIP is a free and open source multimedia communication lib…9.8
- CVE-2022-31032Tuleap is a Free & Open Source Suite to improve management o…4.3
Are you affected by CVE-2022-31027?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
