CVE-2024-27918
Last modified
CVE-2024-27918 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. Coder allows oragnizations to provision remote development environments via Terraform. Prior to versions 2.6.1, 2.7.3, and 2.8.4, a vulnerability in Coder's OIDC authentication could allow an attacker to bypass the `CODER_OIDC_EMAIL_DOMAIN` verification and create an account with an email not in the allowlist. EPSS estimates a 0.97% chance of exploitation in the next 30 days.
Description
Coder allows oragnizations to provision remote development environments via Terraform. Prior to versions 2.6.1, 2.7.3, and 2.8.4, a vulnerability in Coder's OIDC authentication could allow an attacker to bypass the `CODER_OIDC_EMAIL_DOMAIN` verification and create an account with an email not in the allowlist. Deployments are only affected if the OIDC provider allows users to create accounts on the provider. During OIDC registration, the user's email was improperly validated against the allowed `CODER_OIDC_EMAIL_DOMAIN`s. This could allow a user with a domain that only partially matched an allowed domain to successfully login or register. An attacker could register a domain name that exploited this vulnerability and register on a Coder instance with a public OIDC provider. Coder instances with OIDC enabled and protected by the `CODER_OIDC_EMAIL_DOMAIN` configuration are affected. Coder instances using a private OIDC provider are not affected, as arbitrary users cannot register through a private OIDC provider without first having an account on the provider. Public OIDC providers are impacted. GitHub authentication and external authentication are not impacted. This vulnerability is remedied in versions 2.8.4, 2.7.3, and 2.6.1 All versions prior to these patches are affected by the vulnerability.*It is recommended that customers upgrade their deployments as soon as possible if they are utilizing OIDC authentication with the `CODER_OIDC_EMAIL_DOMAIN` setting.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Coder | Coder | < 2.6.1 |
| Coder | Coder | >= 2.7.0, < 2.7.3 |
| Coder | Coder | >= 2.8.0, < 2.8.4 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-27918?
How severe is CVE-2024-27918?
How do I fix CVE-2024-27918?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- 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 2024
- CVE-2024-27912A denial of service vulnerability was reported in some Lenov…7.5
- CVE-2024-27913ospf_te_parse_te in ospfd/ospf_te.c in FRRouting (FRR) throu…6.5
- CVE-2024-27914GLPI is a Free Asset and IT Management Software package, Dat…6.1
- CVE-2024-27915Sulu is a PHP content management system. Starting in verson …8.1
- CVE-2024-27916Minder is a software supply chain security platform. Prior t…4.3
- CVE-2024-27917Shopware is an open commerce platform based on Symfony Frame…7.5
- CVE-2024-27919Envoy is a cloud-native, open-source edge and service proxy.…7.5
- CVE-2024-2792The Elementor Addon Elements plugin for WordPress is vulnera…6.4
- CVE-2024-27920projectdiscovery/nuclei is a fast and customisable vulnerabi…7.4
- CVE-2024-27921Grav is an open-source, flat-file content management system.…8.8
- CVE-2024-27922TOMP Bare Server implements the TompHTTP bare server. A vuln…9.8
- CVE-2024-27923Grav is a content management system (CMS). Prior to version …8.8
Are you affected by CVE-2024-27918?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
