Stored cross-site scripting in Jenkins and Jenkins LTS - CVE-2020-2221
Published: July 16, 2020
Vulnerability details
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data in the upstream job’s display name. A remote authenticated attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Affected software
Jenkins LTS
cri-o (Red Hat package)
jenkins (Red Hat package)
jenkins (Alpine package)
container-selinux (Red Hat package)
openshift (Red Hat package)
machine-config-daemon (Red Hat package)
openshift-kuryr (Red Hat package)
How to mitigate CVE-2020-2221
Jenkins LTS - update to 2.235.2
cri-o (Red Hat package) - addressed in versions 1.17.4-24.rhaos4.4.git73658e6.el7, 1.17.4-24.rhaos4.4.git73658e6.el8
jenkins (Red Hat package) - addressed in versions 2.235.2.1597312065-1.el7, 2.235.2.1597312414-1.el7, 2.235.5.1600415514-1.el7
jenkins (Alpine package) - update to 2.245-r0
container-selinux (Red Hat package) - update to 2.144.0-1.rhaos4.4.el8
openshift (Red Hat package) - addressed in versions 4.3.37-202009120213.p0.git.0.dffefe4.el8, 4.5.0-202008130146.p0.git.0.aaf1d57.el7, 4.5.0-202008130146.p0.git.0.aaf1d57.el8
machine-config-daemon (Red Hat package) - update to 4.4.0-202008130707.p0.git.2357.47d462a.el8
openshift-kuryr (Red Hat package) - update to 4.4.0-202008131757.p0.git.1813.8e0365d.el8
External References
Related Security Bulletins
- Multiple vulnerabilities in Jenkins and LTS
- Red Hat OpenShift Container Platform 4.5.7 update for jenkins and openshift
- Stored cross-site scripting in jenkins (Alpine package)
- OpenShift Container Platform 4.4.18 packages update
- Red Hat OpenShift Container Platform 4.3 update for jenkins and openshift