Description
FilePath#listFiles lists files outside directories that agents are allowed to access when following symbolic links in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier.
Remediation
References
https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455
http://www.openwall.com/lists/oss-security/2021/11/04/3
Related Vulnerabilities
CVE-2017-1000391 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2022-40764 Vulnerability in npm package snyk-go-plugin
CVE-2020-7238 Vulnerability in maven package io.netty:netty-all
CVE-2021-41182 Vulnerability in npm package jquery-ui
CVE-2021-25924 Vulnerability in maven package cd.go.plugin:go-plugin-api