CVE-2020-2308: Missing Authorization in Jenkins Kubernetes Plugin

Summary

24/05/2022
Yes i
Moderate
4.3

CVE-2020-2308: Missing Authorization in Jenkins Kubernetes Plugin. Affects org.csanchez.jenkins.plugins:kubernetes across 4 version ranges.

< 1.21.6 >= 1.22.0, < 1.25.4.1 >= 1.26.0, < 1.26.5 >= 1.27.1, < 1.27.4

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Jenkins Kubernetes Plugin is a Maven package that provides integration between Jenkins and Kubernetes. It allows users to dynamically provision Jenkins agents using Kubernetes pods. This plugin is widely used in CI/CD pipelines to automate the deployment of applications on Kubernetes clusters.

Vulnerability Detail

The Jenkins Kubernetes Plugin versions prior to 1.27.4, 1.26.5, 1.25.4.1, and 1.21.6 suffer from a missing authorization vulnerability. An HTTP endpoint in the plugin does not perform a permission check, allowing attackers with Overall/Read permission to list global pod template names. This can lead to unauthorized access and potential information disclosure.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.21.6 1.21.6
  • >= 1.22.0, < 1.25.4.1 1.25.4.1
  • >= 1.26.0, < 1.26.5 1.26.5
  • >= 1.27.1, < 1.27.4 1.27.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to upgrade to the fixed versions mentioned above.

Conclusion

The Jenkins Kubernetes Plugin prior to versions 1.27.4, 1.26.5, 1.25.4.1, and 1.21.6 is vulnerable to unauthorized access and information disclosure. It is crucial to upgrade to the fixed versions to mitigate this risk. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for org.csanchez.jenkins.plugins:kubernetes →

Share this vulnerability

FAQ

This vulnerability allows attackers with Overall/Read permission to list global pod template names, potentially leading to unauthorized access and information disclosure.

No, only versions prior to 1.27.4, 1.26.5, 1.25.4.1, and 1.21.6 are affected. It is recommended to upgrade to the fixed versions.

No, there is no known workaround. Upgrading to the fixed versions is the recommended solution.

Attackers with Overall/Read permission can exploit this vulnerability to list global pod template names.

Related vulnerabilities

Recent vulnerabilities recorded for org.csanchez.jenkins.plugins:kubernetes.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.21.6 1.21.6
  • >= 1.22.0, < 1.25.4.1 1.25.4.1
  • >= 1.26.0, < 1.26.5 1.26.5
  • >= 1.27.1, < 1.27.4 1.27.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback