Bug 2044500 (CVE-2022-20616)

Summary: CVE-2022-20616 jenkins-2-plugins/credentials-binding: does not perform a permission check in a method implementing form validation
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: abenaiss, adam.kaplan, aos-bugs, bmontgom, eparis, jburrell, jokerman, nstielau, sponnaga, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: credentials binding plugin 1.27.1 Doc Type: If docs needed, set a value
Doc Text:
A missing permissions validation vulnerability was found in the Jenkins Credentials Binding plugin. The form validation method does not perform a permission check which allows attackers with Overall/Read access to validate if a credential ID refers to a secret file credential and whether it’s a zip file.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2044933, 2047839    
Bug Blocks: 2044461    

Description Michael Kaplan 2022-01-24 17:26:47 UTC
Jenkins Credentials Binding Plugin 1.27 and earlier does not perform a permission check in a method implementing form validation, allowing attackers with Overall/Read access to validate if a credential ID refers to a secret file credential and whether it's a zip file.

Reference:

https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2342

Comment 2 Adam Kaplan 2022-01-26 23:06:29 UTC
credentials-binding is included as a direct dependency: https://github.com/openshift/jenkins/blob/master/2/contrib/openshift/base-plugins.txt#L6