CVE-2023-39151
jenkins: Stored cross-site scripting via build logs
Overview
Description
Jenkins 2.415 and earlier, LTS 2.401.2 and earlier does not sanitize or properly encode URLs in build logs when transforming them into hyperlinks, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to control build log contents.
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.415.1 | 2.415.1 |
| Maven | org.jenkins-ci.main:jenkins-core | >=2.402, <2.414.1<2.401.3>=2.415, <2.416 | 2.414.12.401.32.416 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
Red Hat 3 releases · 1 package
affected 3
eol 1
jenkins
| Release | Package | Fixed in |
|---|---|---|
| 7 | jenkins | affected |
| 7 | jenkins | eol |
| 8 | jenkins | affected |
| 9 | jenkins | affected |
alpine 1 release · 1 package
fixed 1
jenkins
| Release | Package | Fixed in |
|---|---|---|
| edge | jenkins | 2.401.3-r0 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/07/26/2
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-39151
- github.com https://github.com/CVEProject/cvelist/blob/975222d6e43b5b1296dbc8a67d03704a1d2554e8/2023/39xxx/CVE-2023-39151.json
- github.com https://github.com/jenkinsci/jenkins
- github.com https://github.com/jenkinsci/jenkins/commit/1b9f1ccdbb7d00705b036d1332908fe52c2cd7ae
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-39151
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-39151
- www.jenkins.io https://www.jenkins.io/security/advisory/2023-07-26/#SECURITY-3188
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.