{"answers":{"affected":"6 open source packages ship an affected version, including github.com/concourse/concourse. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-15798 in the wild and no public exploit code.","fix":"Upgrade github.com/concourse/concourse to a fixed version for your release line: 5.2.8, 5.5.10 or 5.8.1.","what":"CVE-2018-15798 is a high-severity vulnerability in Pivotal Concourse, published on 19 Dec 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2018-15798 and fix it if it is affected.\n\nWhat it is: CVE-2018-15798 is a high-severity vulnerability in Pivotal Concourse, published on 19 Dec 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-15798 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/concourse/concourse (Go): affected all versions; fixed in 5.2.8\n- github.com/concourse/concourse (Go): affected all versions; fixed in 5.2.8\n- github.com/concourse/concourse (Go): affected from 5.3.0; fixed in 5.5.10\n- github.com/concourse/concourse (Go): affected from 5.3.0; fixed in 5.5.10\n- github.com/concourse/concourse (Go): affected from 5.6.0; fixed in 5.8.1\n- github.com/concourse/concourse (Go): affected from 5.6.0; fixed in 5.8.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-15798/ (Markdown: https://insights.sbomify.com/CVE-2018-15798/index.md)","id":"CVE-2018-15798","markdown":"https://insights.sbomify.com/CVE-2018-15798/index.md","name":"CVE-2018-15798","record":{"aliases":["GHSA-9689-rx4v-cqgc"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Concourse CI","requires_auth":"none","summary":"Attackers can redirect users to malicious sites via OAuth login, potentially stealing access tokens and compromising user accounts.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"concourse","vendor":"pivotal_software"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","version":"3.0"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Pivotal Concourse allows malicious redirect urls on login","id":"CVE-2018-15798","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"open_redirect","year":"2018"},"n_packages":6,"n_references":1,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2018-15799"},"packages":[{"ecosystem":"Go","fixed":["5.2.8"],"introduced":["0"],"last_affected":[],"package":"github.com/concourse/concourse","purl":null,"source":"GHSA-9689-rx4v-cqgc"},{"ecosystem":"Go","fixed":["5.2.8"],"introduced":["0"],"last_affected":[],"package":"github.com/concourse/concourse","purl":"pkg:golang/github.com/concourse/concourse","source":"GHSA-9689-rx4v-cqgc"},{"ecosystem":"Go","fixed":["5.5.10"],"introduced":["5.3.0"],"last_affected":[],"package":"github.com/concourse/concourse","purl":null,"source":"GHSA-9689-rx4v-cqgc"},{"ecosystem":"Go","fixed":["5.5.10"],"introduced":["5.3.0"],"last_affected":[],"package":"github.com/concourse/concourse","purl":"pkg:golang/github.com/concourse/concourse","source":"GHSA-9689-rx4v-cqgc"},{"ecosystem":"Go","fixed":["5.8.1"],"introduced":["5.6.0"],"last_affected":[],"package":"github.com/concourse/concourse","purl":null,"source":"GHSA-9689-rx4v-cqgc"},{"ecosystem":"Go","fixed":["5.8.1"],"introduced":["5.6.0"],"last_affected":[],"package":"github.com/concourse/concourse","purl":"pkg:golang/github.com/concourse/concourse","source":"GHSA-9689-rx4v-cqgc"}],"prev":{"headline":"NFS Volume release errand leaks cf admin credentials in logs","id":"CVE-2018-15797"},"products":["Concourse"],"published":"2018-12-19","related":[{"cvss_score":10,"headline":"Concourse's GitLab auth allows impersonation","id":"CVE-2020-5415","kev_date_added":null,"published":"2020-08-12"},{"cvss_score":7.6,"headline":"Concourse Open Redirect in the /sky/login endpoint","id":"CVE-2020-5409","kev_date_added":null,"published":"2020-05-13"},{"cvss_score":7.5,"headline":"Supply chain in Concourse CI: As of 2018-03-13, Pivotal does not believe that any resources or builds of Concourse have been compromised.","id":"CVE-2018-1227","kev_date_added":null,"published":"2018-03-13"},{"cvss_score":6.8,"headline":"Concourse 5.0.0 SQL Injection vulnerability","id":"CVE-2019-3792","kev_date_added":null,"published":"2019-04-01"},{"cvss_score":5.4,"headline":"Team scope authorization bypass when Post/Put request with :team_name in body, allows HTTP parameter pollution","id":"CVE-2022-31683","kev_date_added":null,"published":"2022-12-19"},{"cvss_score":4.5,"headline":"Concourse includes token in CLI authentication callback","id":"CVE-2019-3803","kev_date_added":null,"published":"2019-01-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Pivotal"]},"summary":"Attackers can redirect users to malicious sites via OAuth login, potentially stealing access tokens and compromising user accounts.","url":"https://insights.sbomify.com/CVE-2018-15798/"}