{"id":"GHSA-wmfh-h3vm-rcxm","summary":"Content-Security-Policy protection for user content disabled by Jenkins NeuVector Vulnerability Scanner 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.\n\nNeuVector Vulnerability Scanner Plugin 1.20 and earlier globally disables the `Content-Security-Policy` header for static files served by Jenkins whenever the 'NeuVector Vulnerability Scanner' build step is executed. This allows cross-site scripting (XSS) attacks by users with the ability to control files in workspaces, archived artifacts, etc.\n\nJenkins instances with [Resource Root URL](https://www.jenkins.io/doc/book/security/user-content/#resource-root-url) configured are unaffected.","aliases":["CVE-2022-43434"],"modified":"2024-02-16T08:01:29.531084Z","published":"2022-10-19T19:00:18Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-10-19T21:21:50Z","nvd_published_at":"2022-10-19T16:15:00Z","cwe_ids":["CWE-693"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-43434"},{"type":"WEB","url":"https://github.com/jenkinsci/neuvector-vulnerability-scanner-plugin/commit/e0a72373ef1c20c41b8eb086883a7090cf04809c"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/neuvector-vulnerability-scanner-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2865"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/10/19/3"}],"affected":[{"package":{"name":"io.jenkins.plugins:neuvector-vulnerability-scanner","ecosystem":"Maven","purl":"pkg:maven/io.jenkins.plugins/neuvector-vulnerability-scanner"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.22"}]}],"versions":["1.0","1.1","1.10","1.11","1.12","1.13","1.14","1.15","1.16","1.17","1.17.1","1.18","1.19","1.2","1.20","1.21","1.3","1.4","1.5","1.6","1.7","1.7.1","1.8","1.8.1","1.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 1.20","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-wmfh-h3vm-rcxm/GHSA-wmfh-h3vm-rcxm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}