CVE-2018-15798: Github.com/concourse/concourse Pivotal Concourse Open Redirect Vulnerability
MODERATECVE-2018-15798 is a MODERATE (CVSS 5.4) pivotal concourse open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Github.com/concourse/concourse libraries in the Go ecosystem. The issue involves pivotal concourse open redirect in login flow. Remediation is available by upgrading affected packages to version 5.2.8, 5.5.10, 5.8.1.
CVE-2018-15798 at a Glance
Security Impact
CVSS: 5.4
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:R/S:U/C:L/I:L/A:N).
How to Fix CVE-2018-15798
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 5.2.8
Upgrade github.com/concourse/concourse to 5.5.10
Upgrade github.com/concourse/concourse to 5.8.1
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-2018-15798, 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 5.2.8), 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-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. 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-2018-15798 Affected Github.com/concourse/concourse Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/concourse/concourse
|
Go |
< 5.2.8
|
5.2.8
|
|
github.com/concourse/concourse
|
Go |
≥ 5.3.0
< 5.5.10
|
5.5.10
|
|
github.com/concourse/concourse
|
Go |
≥ 5.6.0
< 5.8.1
|
5.8.1
|
References
Frequently Asked Questions
What is CVE-2018-15798?
Which Github.com/concourse/concourse versions are affected?
What version fixes CVE-2018-15798?
Is github.com/concourse/concourse affected?
What is the CVSS score of CVE-2018-15798?
What CWE is associated with CVE-2018-15798?
How can I check Go dependencies for CVE-2018-15798?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9689-rx4v-cqgc",
"modified" : "2023-10-02T11:43:16Z",
"published" : "2022-02-15T01:57:18Z",
"aliases" : [ "CVE-2018-15798" ],
"summary" : "Pivotal Concourse Open Redirect in Login Flow",
"details" : "Pivotal Concourse Release, versions 4.x prior to 4.2.2, login flow allows redirects to untrusted websites. A remote unauthenticated attacker could convince a user to click on a link using the oAuth redirect link with an untrusted website and gain access to that user's access token in Concourse.\n\n### Specific Go Packages Affected\ngithub.com/concourse/concourse/skymarshal/skyserver",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/concourse/concourse"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.2.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/concourse/concourse"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.3.0"
}, {
"fixed" : "5.5.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/concourse/concourse"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.6.0"
}, {
"fixed" : "5.8.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-15798"
}, {
"type" : "WEB",
"url" : "https://github.com/concourse/concourse/pull/5350/commits/38cb4cc025e5ed28764b4adc363a0bbf41f3c7cb"
}, {
"type" : "WEB",
"url" : "https://github.com/concourse/concourse/blob/release/5.2.x/release-notes/v5.2.8.md"
}, {
"type" : "WEB",
"url" : "https://pivotal.io/security/cve-2018-15798"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-12T18:15:16Z",
"nvd_published_at" : null
}
}