NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-23905: Content-Security-Policy disabled by Red Hat Dependency Analytics Jenkins Plugin

highCVSS 3.1 8.0GHSA-x22x-5pp9-8v7f

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.

Published Jan 24, 2024 · Updated Jan 29, 2024

Affected packages

io.jenkins.plugins:redhat-dependency-analytics

Ecosystem
Maven
Affected
< 0.9.0
Fixed in
0.9.0
Check
mvn dependency:tree -Dincludes=io.jenkins.plugins:redhat-dependency-analytics

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology