Lucene search

K
githubGitHub Advisory DatabaseGHSA-X22X-5PP9-8V7F
HistoryJan 24, 2024 - 6:31 p.m.

Content-Security-Policy disabled by Red Hat Dependency Analytics Jenkins Plugin

2024-01-2418:31:02
CWE-79
GitHub Advisory Database
github.com
13
jenkins
red hat
dependency analytics
content-security-policy
xss
plugin

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

AI Score

5.8

Confidence

High

EPSS

0

Percentile

13.3%

Jenkins sets the Content-Security-Policy header to static files served by Jenkins (specifically DirectoryBrowserSupport), such as workspaces, /userContent, or archived artifacts, unless a Resource Root URL is specified.

Red Hat Dependency Analytics Plugin 0.7.1 and earlier globally disables the Content-Security-Policy header for static files served by Jenkins whenever the ‘Invoke Red Hat Dependency Analytics (RHDA)’ build step is executed. This allows cross-site scripting (XSS) attacks by users with the ability to control files in workspaces, archived artifacts, etc.

Affected configurations

Vulners
Node
io.jenkins.pluginsredhat-dependency-analyticsRange<0.9.0
VendorProductVersionCPE
io.jenkins.pluginsredhat-dependency-analytics*cpe:2.3:a:io.jenkins.plugins:redhat-dependency-analytics:*:*:*:*:*:*:*:*

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

AI Score

5.8

Confidence

High

EPSS

0

Percentile

13.3%

Related for GHSA-X22X-5PP9-8V7F