Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/openshift/oauth-apiserver
  4. ›
  5. CVE-2019-3876

CVE-2019-3876: Cross-Site Request Forgery (CSRF)

May 13, 2022 (updated July 19, 2023)

A flaw was found in the /oauth/token/request custom endpoint of the OpenShift OAuth server allowing for XSS generation of CLI tokens due to missing X-Frame-Options and CSRF protections. If not otherwise prevented, a separate XSS vulnerability via JavaScript could further allow for the extraction of these tokens.

References

  • access.redhat.com/errata/RHSA-2019:1851
  • access.redhat.com/security/cve/CVE-2019-3876
  • bugzilla.redhat.com/show_bug.cgi?id=1691107
  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3876
  • github.com/advisories/GHSA-jgwg-35hf-xqrr
  • nvd.nist.gov/vuln/detail/CVE-2019-3876
  • web.archive.org/web/20210126211309/http://www.securityfocus.com/bid/107664

Code Behaviors & Features

Detect and mitigate CVE-2019-3876 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0 before 3.11

Fixed versions

  • v3.11

Solution

Upgrade to version 3.11 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/openshift/oauth-apiserver/CVE-2019-3876.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:09 +0000.