CVE-2020-2162
jenkins: Content-Security-Policy headers for files uploaded leads to XSS
Overview
Description
Jenkins 2.227 and earlier, LTS 2.204.5 and earlier does not set Content-Security-Policy headers for files uploaded as file parameters to a build, resulting in a stored XSS 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.227.1 | 2.227.1 |
| Maven | org.jenkins-ci.main:jenkins-core | <2.228>=2.204.6, <2.228 | 2.228 |
Open a package to see all its vulnerabilities.
Operating systems · 34 fixes
Red Hat 2 releases · 11 packages
fixed 30
cri-o
jenkins
openshift-ansible
openshift-hyperkube
openshift-clients
atomic-openshift-service-idler
+5
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | cri-o | 0:1.16.6-15.dev.rhaos4.3.gitebc053b.el7 | RHBA-2020:2435 |
| 7 | cri-o | 0:1.17.4-14.dev.rhaos4.4.gitb93af5d.el7 | RHBA-2020:2444 |
| 7 | jenkins | 0:2.222.1.1591349991-1.el7 | RHBA-2020:2435 |
| 7 | jenkins | 0:2.222.1.1591351066-1.el7 | RHBA-2020:2444 |
| 7 | jenkins | 0:2.222.1.1591351669-1.el7 | RHBA-2020:2477 |
| 7 | openshift-ansible +1 | 0:4.3.25-202006060952.git.1.1253fde.el7 | RHBA-2020:2435 |
24 more rows
alpine 4 releases · 1 package
fixed 4
jenkins
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | jenkins | 2.228-r0 |
| 3.23 | jenkins | 2.228-r0 |
| 3.24 | jenkins | 2.228-r0 |
| edge | jenkins | 2.228-r0 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2020/03/25/2
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-2162
- github.com https://github.com/jenkinsci/jenkins
- github.com https://github.com/jenkinsci/jenkins/commit/c2d22b241eba718c62996e2ceeb5f2e0e9787f81
- jenkins.io https://jenkins.io/security/advisory/2020-03-25/#SECURITY-1793
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-2162
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-2162
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.