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.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Link | Tags |
---|---|
https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455 | vendor advisory |
http://www.openwall.com/lists/oss-security/2021/11/04/3 | third party advisory mailing list |