CVE-2021-21610
jenkins: Reflected XSS vulnerability in markup formatter preview
Overview
Description
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not implement any restrictions for the URL rendering a formatted preview of markup passed as a query parameter, resulting in a reflected cross-site scripting (XSS) vulnerability if the configured markup formatter does not prohibit unsafe elements (JavaScript) in markup.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | jenkins | <2.274.1 | 2.274.1 |
| Maven | org.jenkins-ci.main:jenkins-core | <2.263.2>=2.264, <2.275 | 2.263.22.275 |
Open a package to see all its vulnerabilities.
Operating systems · 77 fixes
Red Hat 2 releases · 57 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | runc | 0:1.0.0-98.rhaos4.8.gitcd80260.el7 | RHSA-2021:2437 |
| 7 | cri-tools | 0:1.21.0-2.el7 | RHSA-2021:2437 |
| 7 | cri-o | 0:1.21.2-5.rhaos4.8.gitb27d974.el7 | RHSA-2021:2437 |
| 7 | jenkins | 0:2.263.3.1612433584-1.el7 | RHSA-2021:0637 |
| 7 | jenkins | 0:2.263.3.1612434332-1.el7 | RHSA-2021:0429 |
| 7 | jenkins-2-plugins | 0:3.11.1612862361-1.el7 | RHSA-2021:0637 |
67 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | jenkins | 2.275-r0 |
| 3.23 | jenkins | 2.275-r0 |
| 3.24 | jenkins | 2.275-r0 |
| edge | jenkins | 2.275-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-21610
- github.com https://github.com/jenkinsci/jenkins
- github.com https://github.com/jenkinsci/jenkins/commit/89ec0c40b68cd1e4e9f9ef5ebcafd87e7fa16589
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-21610
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-21610
- www.jenkins.io https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2153
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.