GHSA-627p-rr78-99rj

Suggest an improvement
Source
https://github.com/advisories/GHSA-627p-rr78-99rj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-627p-rr78-99rj/GHSA-627p-rr78-99rj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-627p-rr78-99rj
Aliases
Related
Published
2021-12-20T17:56:03Z
Modified
2025-07-22T16:13:01Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
GitLab auth uses full name instead of username as user ID, allowing impersonation
Details

Impact

Installations which use the GitLab auth connector are vulnerable to identity spoofing by way of configuring a GitLab account with the same full name as another GitLab user who is granted access to a Concourse team by having their full name listed under users in the team configuration or given to the --gitlab-user flag.

See the GitLab auth docs for details.

Concourse installations which do not configure the GitLab auth connector are not affected.

Patches

Concourse v6.3.1 and v6.4.1 were both released with a fix on August 4th, 2020.

Both versions change the GitLab connector to use the username, rather than the full name. This was always the intent, and the previous behavior was originally reported as a bug (concourse/dex#7) prior to being reported as a security issue.

Any Concourse teams which configure GitLab users will have to switch each user from their full name to their username upon upgrading to these versions.

Workarounds

GitLab groups do not have this vulnerability, so GitLab users may be moved into groups which are then configured in the Concourse team.

References

  • concourse/dex#12: PR with the fix

For more information

If you have any questions or comments about this advisory, you may reach us privately at concourseteam+security@gmail.com.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-24T17:56:03Z",
    "cwe_ids": [
        "CWE-290"
    ],
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

Go / github.com/concourse/concourse

Package

Name
github.com/concourse/concourse
View open source insights on deps.dev
Purl
pkg:golang/github.com/concourse/concourse

Affected ranges

Type
SEMVER
Events
Introduced
6.4.0
Fixed
6.4.1

Affected versions

6.*

6.4.0

Go / github.com/concourse/concourse

Package

Name
github.com/concourse/concourse
View open source insights on deps.dev
Purl
pkg:golang/github.com/concourse/concourse

Affected ranges

Type
SEMVER
Events
Introduced
1.6.1
Fixed
6.3.1

Database specific

{
    "last_known_affected_version_range": "<= 6.3.0"
}

Go / github.com/concourse/dex

Package

Name
github.com/concourse/dex
View open source insights on deps.dev
Purl
pkg:golang/github.com/concourse/dex

Affected ranges

Type
SEMVER
Events
Introduced
6.4.0
Fixed
6.4.1

Affected versions

6.*

6.4.0

Go / github.com/concourse/dex

Package

Name
github.com/concourse/dex
View open source insights on deps.dev
Purl
pkg:golang/github.com/concourse/dex

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0
Fixed
6.3.1

Database specific

{
    "last_known_affected_version_range": "< 6.3.0"
}

Go / github.com/concourse/dex

Package

Name
github.com/concourse/dex
View open source insights on deps.dev
Purl
pkg:golang/github.com/concourse/dex

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20200730150203-821b48abfd88

Go / github.com/concourse/concourse

Package

Name
github.com/concourse/concourse
View open source insights on deps.dev
Purl
pkg:golang/github.com/concourse/concourse

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20200730151558-b00d1c8d8576

Go / github.com/concourse/concourse

Package

Name
github.com/concourse/concourse
View open source insights on deps.dev
Purl
pkg:golang/github.com/concourse/concourse

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0
Fixed
1.6.1-0.20200730151558-b00d1c8d8576