Bug 2177630 (CVE-2023-27902) - CVE-2023-27902 Jenkins: Workspace temporary directories accessible through directory browser
Summary: CVE-2023-27902 Jenkins: Workspace temporary directories accessible through di...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2023-27902
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2177137
TreeView+ depends on / blocked
 
Reported: 2023-03-13 08:22 UTC by Avinash Hanwate
Modified: 2023-05-24 22:43 UTC (History)
8 users (show)

Fixed In Version: Jenkins 2.394, LTS 2.375.4, LTS 2.387.1
Doc Type: ---
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2023-05-24 22:43:41 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:3299 0 None None None 2023-05-24 17:11:07 UTC

Description Avinash Hanwate 2023-03-13 08:22:43 UTC
Jenkins 2.393 and earlier, LTS 2.375.3 and earlier shows temporary directories related to job workspaces, which allows attackers with Item/Workspace permission to access their contents.

https://www.jenkins.io/security/advisory/2023-03-08/#SECURITY-1807

Comment 3 errata-xmlrpc 2023-05-24 17:11:06 UTC
This issue has been addressed in the following products:

  OpenShift Developer Tools and Services for OCP 4.13

Via RHSA-2023:3299 https://access.redhat.com/errata/RHSA-2023:3299

Comment 4 Product Security DevOps Team 2023-05-24 22:43:39 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-27902


Note You need to log in before you can comment on or make changes to this bug.