Vulnerabilities in pkg:golang/github.com/concourse/dex
PACKAGECVE-2020-5415 is a HIGH (CVSS 7.5) gitlab auth uses full name vulnerability (CWE-290: Authentication Bypass by Spoofing) affecting Github.com/concourse/concourse libraries in the Go ecosystem. The issue involves gitlab auth uses full name instead of username as user id, allowing impersonation. Remediation is available by upgrading affected packages to version 6.4.1, 6.3.1, 0.0.0-20200730150203-821b48abfd88, 0.0.0-20200730151558-b00d1c8d8576, 1.6.1-0.20200730151558-b00d1c8d8576.
pkg:golang/github.com/concourse/dex
Vulnerability advisories affecting package pkg:golang/github.com/concourse/dex. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-627p-rr78-99rj | CVE-2020-5415 | HIGH | GitLab auth uses full name instead of username as user ID, allowing impersonation |
CVE-2020-5415 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2020-5415
To remediate this vulnerability, upgrade all affected Github.com/concourse/concourse dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/concourse/concourse to 6.4.1
Upgrade github.com/concourse/concourse to 6.3.1
Upgrade github.com/concourse/dex to 6.4.1
Upgrade github.com/concourse/dex to 6.3.1
Upgrade github.com/concourse/dex to 0.0.0-20200730150203-821b48abfd88
Upgrade github.com/concourse/concourse to 0.0.0-20200730151558-b00d1c8d8576
Upgrade github.com/concourse/concourse to 1.6.1-0.20200730151558-b00d1c8d8576
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/concourse/concourse
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-5415, inspect your project dependencies for Github.com/concourse/concourse:
inspect dependencies for github.com/concourse/concourse
Analyze the terminal output to locate any version of Github.com/concourse/concourse in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.4.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-290: Authentication Bypass by Spoofing, where this attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks. In Github.com/concourse/concourse, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-5415 Affected Github.com/concourse/concourse Versions
7 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/concourse/concourse
|
Go |
≥ 6.4.0
< 6.4.1
All 1 versions
6.4.0
|
6.4.1
|
|
github.com/concourse/concourse
|
Go |
≥ 1.6.1
< 6.3.1
|
6.3.1
|
|
github.com/concourse/dex
|
Go |
≥ 6.4.0
< 6.4.1
All 1 versions
6.4.0
|
6.4.1
|
|
github.com/concourse/dex
|
Go |
≥ 0.0.0
< 6.3.1
|
6.3.1
|
|
github.com/concourse/dex
|
Go |
< 0.0.0-20200730150203-821b48abfd88
|
0.0.0-20200730150203-821b48abfd88
|
|
github.com/concourse/concourse
|
Go |
< 0.0.0-20200730151558-b00d1c8d8576
|
0.0.0-20200730151558-b00d1c8d8576
|
|
github.com/concourse/concourse
|
Go |
≥ 0.0.0
< 1.6.1-0.20200730151558-b00d1c8d8576
|
1.6.1-0.20200730151558-b00d1c8d8576
|
References
Frequently Asked Questions
What is CVE-2020-5415?
Which Github.com/concourse/concourse versions are affected?
What version fixes CVE-2020-5415?
Is github.com/concourse/concourse affected?
Is github.com/concourse/dex affected?
What is the CVSS score of CVE-2020-5415?
What CWE is associated with CVE-2020-5415?
How can I check Go dependencies for CVE-2020-5415?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-627p-rr78-99rj",
"modified" : "2025-07-22T16:13:01Z",
"published" : "2021-12-20T17:56:03Z",
"aliases" : [ "CVE-2020-5415" ],
"summary" : "GitLab auth uses full name instead of username as user ID, allowing impersonation",
"details" : "### Impact\n\nInstallations 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.\n\nSee the [GitLab auth docs](https://concourse-ci.org/gitlab-auth.html) for details.\n\nConcourse installations which do not configure the GitLab auth connector are not affected.\n\n### Patches\n\nConcourse [v6.3.1](https://github.com/concourse/concourse/releases/tag/v6.3.1) and [v6.4.1](https://github.com/concourse/concourse/releases/tag/v6.4.1) were both released with a fix on August 4th, 2020.\n\nBoth 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.\n\nAny Concourse teams which configure GitLab users will have to switch each user from their full name to their username upon upgrading to these versions.\n\n### Workarounds\n\nGitLab groups do not have this vulnerability, so GitLab users may be moved into groups which are then configured in the Concourse team.\n\n### References\n\n* concourse/dex#12: PR with the fix\n\n### For more information\n\nIf you have any questions or comments about this advisory, you may reach us privately at [concourseteam+security@gmail.com](mailto:concourseteam+security@gmail.com).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/concourse/concourse"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.4.0"
}, {
"fixed" : "6.4.1"
} ]
} ],
"versions" : [ "6.4.0" ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/concourse/concourse"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.6.1"
}, {
"fixed" : "6.3.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 6.3.0"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/concourse/dex"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.4.0"
}, {
"fixed" : "6.4.1"
} ]
} ],
"versions" : [ "6.4.0" ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/concourse/dex"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0"
}, {
"fixed" : "6.3.1"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 6.3.0"
}
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/concourse/dex"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20200730150203-821b48abfd88"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/concourse/concourse"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20200730151558-b00d1c8d8576"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/concourse/concourse"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.0.0"
}, {
"fixed" : "1.6.1-0.20200730151558-b00d1c8d8576"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/concourse/concourse/security/advisories/GHSA-627p-rr78-99rj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-5415"
}, {
"type" : "WEB",
"url" : "https://tanzu.vmware.com/security/cve-2020-5415"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-290" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-24T17:56:03Z",
"nvd_published_at" : null
}
}