GHSA-x22x-5pp9-8v7f

Suggest an improvement
Source
https://github.com/advisories/GHSA-x22x-5pp9-8v7f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-x22x-5pp9-8v7f/GHSA-x22x-5pp9-8v7f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-x22x-5pp9-8v7f
Aliases
  • CVE-2024-23905
Published
2024-01-24T18:31:02Z
Modified
2024-02-16T08:19:14.586803Z
Severity
  • 8.0 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Content-Security-Policy disabled by Red Hat Dependency Analytics Jenkins Plugin
Details

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.

Database specific
{
    "nvd_published_at": "2024-01-24T18:15:09Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-24T21:51:55Z"
}
References

Affected packages

Maven / io.jenkins.plugins:redhat-dependency-analytics

Package

Name
io.jenkins.plugins:redhat-dependency-analytics
View open source insights on deps.dev
Purl
pkg:maven/io.jenkins.plugins/redhat-dependency-analytics

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.0

Affected versions

0.*

0.7.0
0.7.1