First published: Thu Nov 04 2021(Updated: )
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.
Credit: jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com
Affected Software | Affected Version | How to fix |
---|---|---|
Jenkins Jenkins | <2.303.3 | |
Jenkins Jenkins | <2.319 | |
redhat/jenkins | <2.319 | 2.319 |
redhat/jenkins LTS | <2.303.3 | 2.303.3 |
maven/org.jenkins-ci.main:jenkins-core | <2.303.3 | 2.303.3 |
maven/org.jenkins-ci.main:jenkins-core | >=2.304<=2.318 | 2.319 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-21695 is a vulnerability in Jenkins that allows the listing of files outside allowed directories when following symbolic links.
CVE-2021-21695 has a severity score of 8.8, indicating a high severity.
Jenkins 2.318 and earlier, LTS 2.303.2 and earlier are affected by CVE-2021-21695.
To fix CVE-2021-21695, upgrade Jenkins to version 2.319 or LTS 2.303.3.
You can find more information about CVE-2021-21695 at the following references: [link1], [link2], [link3].