Skip to content
OpenAdvisories
High · 7.0 CVE-2023-27899 BIT-jenkins-2023-27899EUVD-2023-1031GHSA-hf9h-vv4m-2f33

Incorrect Authorization in Jenkins Core

Published Mar 8, 2023 · Updated Feb 28, 2025 · Assigned by jenkins

Description

Jenkins 2.393 and earlier, LTS 2.375.3 and earlier creates a temporary file in the default temporary directory with the default permissions for newly created files when uploading a plugin for installation, potentially allowing attackers with access to the Jenkins controller file system to read and write the file before it is used, potentially resulting in arbitrary code execution.

Affected products

VendorProductAffectedFixed
Jenkins Project Jenkins — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat OpenShift 4 haproxy +1 2.2.19-4.el8 RHSA-2023:1655
Red Hat OpenShift 4 jenkins 2.387.1.1680701869-1.el8 RHSA-2023:1655
Red Hat OpenShift 4 jenkins-2-plugins 4.10.1680703106-1.el8 RHSA-2023:1655
Red Hat OpenShift 4 openshift +1 4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 RHSA-2023:1655
Red Hat Ocp Tools 4 jenkins 2.401.1.1686831596-3.el8 RHSA-2023:3663
Red Hat Ocp Tools 4 jenkins-2-plugins 4.11.1686831822-1.el8 RHSA-2023:3663

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jenkins-ci.main:jenkins-core >= 2.376, < 2.387.1 2.387.1 GHSA-hf9h-vv4m-2f33
Maven org.jenkins-ci.main:jenkins-core < 2.375.4 2.375.4 GHSA-hf9h-vv4m-2f33
Maven org.jenkins-ci.main:jenkins-core >= 2.388, < 2.394 2.394 GHSA-hf9h-vv4m-2f33

Advisories 3

References