Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: core
-
Labels:
-
Similar Issues:
Description
copy-job checks CREATE on Jenkins root, when it only needs to do so on the actual target of the copy. Also it fails to check EXTENDED_READ on the source.
create-job also checks CREATE needlessly on root.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Labels | cli security | cli folders security |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Labels | cli folders security | cli folders lts-candidate security |
Labels | cli folders lts-candidate security | 1.554.1-fixed cli folders security |
Workflow | JNJira [ 154343 ] | JNJira + In-Review [ 194879 ] |
Link | This issue relates to SECURITY-321 [ SECURITY-321 ] |
Code changed in jenkins
User: Jesse Glick
Path:
changelog.html
core/src/main/java/hudson/cli/CopyJobCommand.java
core/src/main/java/hudson/cli/CreateJobCommand.java
core/src/main/java/hudson/model/ItemGroupMixIn.java
test/src/test/java/hudson/cli/CopyJobCommandTest.java
test/src/test/java/hudson/cli/CreateJobCommandTest.java
http://jenkins-ci.org/commit/jenkins/8861563bd1e7fc28c5686f0dc9552529cfdfbf45
Log:
[FIXED JENKINS-22262] CopyJobCommand and CreateJobCommand were doing incorrect permission checks.
Compare: https://github.com/jenkinsci/jenkins/compare/aaa50018eef1...8861563bd1e7