CVE-2020-2221
jenkins: Stored XSS vulnerability in upstream cause
Overview
Description
Jenkins 2.244 and earlier, LTS 2.235.1 and earlier does not escape the upstream job's display name shown as part of a build cause, resulting in a stored cross-site scripting vulnerability.
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | jenkins | <2.244.1 | 2.244.1 |
| Maven | org.jenkins-ci.main:jenkins-core | <2.235.2>=2.236, <2.245 | 2.235.22.245 |
Open a package to see all its vulnerabilities.
Operating systems · 16 fixes
Red Hat 2 releases · 5 packages
fixed 12
jenkins
jenkins-2-plugins
openshift-ansible
openshift-hyperkube
python2-rsa
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jenkins | 0:2.235.2.1597220898-1.el7 | RHSA-2020:3541 |
| 7 | jenkins | 0:2.235.2.1597312065-1.el7 | RHBA-2020:3441 |
| 7 | jenkins | 0:2.235.2.1597312414-1.el7 | RHSA-2020:3519 |
| 7 | jenkins | 0:2.235.5.1600415514-1.el7 | RHSA-2020:3808 |
| 7 | jenkins-2-plugins | 0:3.11.1597310986-1.el7 | RHSA-2020:3541 |
| 7 | openshift-ansible +4 | 0:3.11.272-1.git.0.79ab6e9.el7 | RHSA-2020:3541 |
6 more rows
alpine 4 releases · 1 package
fixed 4
jenkins
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | jenkins | 2.245-r0 |
| 3.23 | jenkins | 2.245-r0 |
| 3.24 | jenkins | 2.245-r0 |
| edge | jenkins | 2.245-r0 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2020/07/15/5
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-2221
- github.com https://github.com/jenkinsci/jenkins
- github.com https://github.com/jenkinsci/jenkins/commit/f6e575381bdba85afaf27c529d7298091f226e49
- jenkins.io https://jenkins.io/security/advisory/2020-07-15/#SECURITY-1901
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-2221
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-2221
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.