{"id":"GHSA-gqm2-2gcx-p88w","summary":"Incorrect Permission Assignment for Critical Resource in Jenkins Credentials Binding Plugin","details":"Jenkins Credentials Binding Plugin prior to 1.27.1 and 1.24.1 does not perform a permission check in a method implementing form validation.\n\nThis 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.\n\nCredentials Binding Plugin 1.27.1 and 1.24.1 performs permission checks when validating secret file credentials IDs.","aliases":["CVE-2022-20616"],"modified":"2024-07-03T15:06:16.599578Z","published":"2022-01-13T00:01:03Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-06-20T22:49:42Z","nvd_published_at":"2022-01-12T20:15:00Z","cwe_ids":["CWE-732","CWE-862"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-20616"},{"type":"WEB","url":"https://github.com/jenkinsci/credentials-binding-plugin/commit/2dd5eda721e52d9a5bf6748405adf965ba517d8a"},{"type":"WEB","url":"https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20616.json"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/credentials-binding-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2342"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/01/12/6"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:credentials-binding","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/credentials-binding"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.25"},{"fixed":"1.27.1"}]}],"versions":["1.25","1.26","1.27"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-gqm2-2gcx-p88w/GHSA-gqm2-2gcx-p88w.json"}},{"package":{"name":"org.jenkins-ci.plugins:credentials-binding","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/credentials-binding"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.24.1"}]}],"versions":["1.0","1.0-beta-1","1.1","1.10","1.11","1.12","1.13","1.14","1.15","1.16","1.17","1.18","1.19","1.2","1.20","1.20.1","1.21","1.22","1.23","1.24","1.3","1.4","1.5","1.6","1.7","1.8","1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-gqm2-2gcx-p88w/GHSA-gqm2-2gcx-p88w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}