CVE-2023-27898
Jenkins: XSS vulnerability in plugin manager
Overview
Description
Jenkins 2.270 through 2.393 (both inclusive), LTS 2.277.1 through 2.375.3 (both inclusive) does not escape the Jenkins version a plugin depends on when rendering the error message stating its incompatibility with the current version of Jenkins, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to provide plugins to the configured update sites and have this message shown by Jenkins instances.
Source: OX vulnerability database
Severity
9.6 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness: CWE-79
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | jenkins | >=2.270.0, <2.394.0 | 2.394.0 |
| Maven | org.jenkins-ci.main:jenkins-core | >=2.376, <2.394<2.375.4 | 2.3942.375.4 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
Red Hat 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jenkins | eol | — |
| 7 | openshift-hyperkube | 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 | RHSA-2023:1655 |
| 8 | haproxy22 | 0:2.2.19-4.el8 | RHSA-2023:1655 |
| 8 | jenkins | 0:2.387.1.1680701869-1.el8 | RHSA-2023:1655 |
| 8 | openshift-hyperkube | 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8 | RHSA-2023:1655 |
| 8 | jenkins-2-plugins | 0:4.10.1680703106-1.el8 | RHSA-2023:1655 |
alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| edge | jenkins | 2.387.2-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-27898
- github.com https://github.com/jenkinsci/jenkins/commit/59ac866d9946d7c296023da0ea78baafd4cf71eb
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-27898
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-27898
- www.jenkins.io https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-3037
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.