First published: Wed Mar 08 2023(Updated: )
A flaw was found in Jenkins. Jenkins uses temporary directories adjacent to workspace directories, usually with the @tmp name suffix, to store temporary files related to the build. In pipelines, these temporary directories are adjacent to the current working directory when operating in a subdirectory of the automatically allocated workspace. Jenkins-controlled processes, like SCMs, may store credentials in these directories. Affected versions of Jenkins show these temporary directories when viewing job workspaces, which allows attackers with Item/Workspace permission to access their contents.
Credit: jenkinsci-cert@googlegroups.com jenkinsci-cert@googlegroups.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/jenkins | <0:2.387.3.1684911776-3.el8 | 0:2.387.3.1684911776-3.el8 |
<2.375.4 | ||
<2.394 | ||
Jenkins Jenkins | <2.375.4 | |
Jenkins Jenkins | <2.394 | |
maven/org.jenkins-ci.main:jenkins-core | >=2.388<2.394 | 2.394 |
maven/org.jenkins-ci.main:jenkins-core | <2.375.4 | 2.375.4 |
maven/org.jenkins-ci.main:jenkins-core | >=2.376<2.387.1 | 2.387.1 |
redhat/Jenkins | <2.394 | 2.394 |
redhat/LTS | <2.375.4 | 2.375.4 |
redhat/LTS | <2.387.1 | 2.387.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-27902 is a vulnerability found in Jenkins where temporary directories adjacent to workspace directories are used to store temporary files related to the build.
CVE-2023-27902 has a severity score of 4.3 out of 10.
Jenkins versions 2.393 and earlier LTS 2.375.3 and earlier are affected by CVE-2023-27902.
To fix CVE-2023-27902, update Jenkins to version 2.394 or LTS to version 2.375.4.
CVE-2023-27902 falls under CWE category 266.