Bug 1642877 (CVE-2018-1000406) - CVE-2018-1000406 jenkins: Arbitrary file write vulnerability using file parameter definitions
Summary: CVE-2018-1000406 jenkins: Arbitrary file write vulnerability using file param...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2018-1000406
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: 1642894
Blocks: 1642893
TreeView+ depends on / blocked
 
Reported: 2018-10-25 09:14 UTC by Andrej Nemec
Modified: 2021-02-16 22:51 UTC (History)
23 users (show)

Fixed In Version: jenkins 2.146, jenkins 2.138.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:40:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2018-10-25 09:14:48 UTC
Users with Job/Configure permission could specify a relative path escaping the base directory in the file name portion of a file parameter definition. This path would be used to archive the uploaded file on the Jenkins master, resulting in an arbitrary file write vulnerability.

External References:

https://jenkins.io/security/advisory/2018-10-10/#SECURITY-1074

Comment 1 Andrej Nemec 2018-10-25 09:40:44 UTC
Created jenkins tracking bugs for this issue:

Affects: fedora-all [bug 1642894]

Comment 2 Sam Fowler 2019-04-11 06:52:59 UTC
Jenkins security policy[0]:

"Any security advisory related updates to Jenkins core or the plugins we include in the OpenShift Jenkins master image will only occur in the v3.11 and v4.x branches of this repository.

We do support running the v3.11 version of the master image against older v3.x (as far back as v3.4) OpenShift clusters if you want to pick up Jenkins security advisory updates."

[0] https://github.com/openshift/jenkins/blob/master/README.md#jenkins-security-advisories-the-master-image-from-this-repository-and-the-oc-binary


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