CVE-2023-37947 — openshift-login
MEDIUMCVE-2023-37947 is a medium-severity (CVSS 4.3) Open Redirect vulnerability in org.openshift.jenkins:openshift-login. A fix is available for org.openshift.jenkins:openshift-login — see the affected versions and patch details below.
Jenkins OpenShift Login Plugin vulnerable to Open Redirect
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-37947.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.openshift.jenkins:openshift-loginReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Jenkins OpenShift Login Plugin 1.1.0.227.v27e08dfb_1a_20 and earlier improperly determines that a redirect URL after login is legitimately pointing to Jenkins.
This allows attackers to perform phishing attacks by having users go to a Jenkins URL that will forward them to a different site after successful authentication.
OpenShift Login Plugin 1.1.0.230.v5d7030b_f5432 only redirects to relative (Jenkins) URLs.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.openshift.jenkins:openshift-login | all versions | 1.1.0.230.v5d7030borg.openshift.jenkins:openshift-login:1.1.0.230.v5d7030b |
Affected Products
openshift loginjenkinsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.openshift.jenkins:openshift-login, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.openshift.jenkins:openshift-login to 1.1.0.230.v5d7030b or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-37947 is resolved across your whole dependency graph.
Workarounds
Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| OCP-Tools-4.12-RHEL-8 | jenkins-2-plugins-0:4.12.1706515741-1.el8 | RHSA-2024:0778 |
| OCP-Tools-4.14-RHEL-8 | jenkins-2-plugins-0:4.14.1706516441-1.el8 | RHSA-2024:0777 |
Frequently Asked Questions
Is CVE-2023-37947 in your dependencies?
Find it across Maven, including transitive dependencies.