Advisory

GO-2024-2602

Also known as: CVE-2024-27918, GHSA-7cc2-r658-7xpf

Summary

Incorrect email domain verification in github.com/coder/coder

Details

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 (such as public providers like google.com). During OIDC registration, the user's email was improperly validated against the allowed CODER_OIDC_EMAIL_DOMAINs.

Severity

Not rated by the source.

Dates

Published
2024-03-11 19:00 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/coder/coder

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/coder/coder/v2

Go · All systems

Affected

  • introduced 0, fixed 2.6.1, introduced 2.7.0, fixed 2.7.3, introduced 2.8.0, fixed 2.8.4 (semver)

Fixed versions

2.6.1, 2.7.3, 2.8.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences