Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.plugins/credentials-binding
  4. ›
  5. CVE-2022-20616

CVE-2022-20616: Incorrect Permission Assignment for Critical Resource in Jenkins Credentials Binding Plugin

January 13, 2022 (updated July 3, 2024)

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.

This 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.

Credentials Binding Plugin 1.27.1 and 1.24.1 performs permission checks when validating secret file credentials IDs.

References

  • github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20616.json
  • github.com/advisories/GHSA-gqm2-2gcx-p88w
  • github.com/jenkinsci/credentials-binding-plugin
  • github.com/jenkinsci/credentials-binding-plugin/commit/2dd5eda721e52d9a5bf6748405adf965ba517d8a
  • nvd.nist.gov/vuln/detail/CVE-2022-20616
  • www.jenkins.io/security/advisory/2022-01-12/

Code Behaviors & Features

Detect and mitigate CVE-2022-20616 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.24.1, all versions starting from 1.25 before 1.27.1

Fixed versions

  • 1.27.1
  • 1.24.1

Solution

Upgrade to versions 1.24.1, 1.27.1 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-732: Incorrect Permission Assignment for Critical Resource
  • CWE-862: Missing Authorization

Source file

maven/org.jenkins-ci.plugins/credentials-binding/CVE-2022-20616.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:26 +0000.