{"id":5802295,"name":"Azure/setup-kubectl","ecosystem":"actions","description":"Install a specific version of kubectl binary. Acceptable values are latest or any semantic version string like \"v1.15.0\"","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/Azure/setup-kubectl","keywords_array":["action","actions","azure","github-action","github-actions","k8s","kubectl","kubernetes","setup"],"namespace":"Azure","versions_count":15,"first_release_published_at":"2020-10-29T05:18:20.000Z","latest_release_published_at":"2026-04-15T02:08:33.000Z","latest_release_number":"v5.1.0","last_synced_at":"2026-09-20T11:37:50.816Z","created_at":"2023-01-04T13:40:01.446Z","updated_at":"2026-09-20T11:37:50.816Z","registry_url":"https://github.com/Azure/setup-kubectl","install_command":null,"documentation_url":null,"metadata":{"name":"Kubectl tool installer","description":"Install a specific version of kubectl binary. Acceptable values are latest or any semantic version string like \"v1.15.0\"","inputs":{"version":{"description":"Version of kubectl","required":true,"default":"latest"},"downloadBaseURL":{"description":"Base URL to download kubectl from (https only). Use for private mirrors.","required":false,"default":"https://dl.k8s.io"},"checksum":{"description":"Expected SHA256 of the kubectl binary (lowercase 64-char hex). Required when overriding downloadBaseURL; the action fails closed without it to prevent unverified binaries from poisoning the tool cache.","required":false,"default":""},"downloadAuthToken":{"description":"Optional bearer token sent as the Authorization header when fetching from downloadBaseURL. Stripped on cross-origin redirects.","required":false,"default":""}},"outputs":{"kubectl-path":{"description":"Path to the cached kubectl binary"}},"branding":{"color":"blue"},"runs":{"using":"node24","main":"lib/index.js"},"default_branch":"main","path":null},"repo_metadata":{"id":37452325,"uuid":"206293378","full_name":"Azure/setup-kubectl","owner":"Azure","description":"GitHub Action for installing Kubectl","archived":false,"fork":false,"pushed_at":"2026-08-17T10:57:05.000Z","size":22322,"stargazers_count":157,"open_issues_count":11,"forks_count":71,"subscribers_count":12,"default_branch":"main","last_synced_at":"2026-08-18T03:45:44.716Z","etag":null,"topics":["action","actions","azure","github-action","github-actions","k8s","kubectl","kubernetes","setup"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Azure.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-09-04T10:28:20.000Z","updated_at":"2026-08-13T22:50:09.000Z","dependencies_parsed_at":"2023-09-22T22:05:35.447Z","dependency_job_id":"19fbedc4-8e4b-45bf-a0b6-48df06f027cb","html_url":"https://github.com/Azure/setup-kubectl","commit_stats":{"total_commits":70,"total_committers":21,"mean_commits":"3.3333333333333335","dds":0.6857142857142857,"last_synced_commit":"2d66d6bef6ec2b958194a359ad7555214fea90f8"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/Azure/setup-kubectl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/sbom","scorecard":{"id":18998,"data":{"date":"2025-08-11","repo":{"name":"github.com/Azure/setup-kubectl","commit":"cce2d7e325259ff4be7ec7d8ab65daa16b523b49"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7.5,"checks":[{"name":"Maintained","score":10,"reason":"24 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/release-pr.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/Azure/setup-kubectl/release-pr.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/integration-tests.yml:28","Warn: pipCommand not pinned by hash: .github/workflows/integration-tests.yml:41","Warn: npmCommand not pinned by hash: .github/workflows/unit-tests.yml:20","Info:  10 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   3 npmCommand dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'packages' permission set to 'read': .github/workflows/codeql.yml:36","Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:39","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:40","Info: jobLevel 'actions' permission set to 'read': .github/workflows/release-pr.yml:14","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-pr.yml:15","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: no topLevel permission defined: .github/workflows/defaultLabels.yml:1","Warn: no topLevel permission defined: .github/workflows/integration-tests.yml:1","Warn: no topLevel permission defined: .github/workflows/prettify-code.yml:1","Warn: no topLevel permission defined: .github/workflows/release-pr.yml:1","Warn: no topLevel permission defined: .github/workflows/unit-tests.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during GetBranch(releases/v4.0.0): error during branchesHandler.query: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T16:23:46.528Z","repository_id":37452325,"created_at":"2025-08-14T16:23:46.528Z","updated_at":"2025-08-14T16:23:46.528Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36756485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-06T04:43:03.162Z","status":"online","status_checked_at":"2026-08-18T02:00:06.197Z","response_time":52,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"Azure","name":"Microsoft Azure","uuid":"6844498","kind":"organization","description":"APIs, SDKs and open source projects from Microsoft Azure","email":null,"website":"https://docs.microsoft.com/en-us/azure/","location":"United States of America","twitter":"Azure","company":null,"icon_url":"https://avatars.githubusercontent.com/u/6844498?v=4","repositories_count":2270,"last_synced_at":"2026-08-20T00:24:13.263Z","metadata":{"has_sponsors_listing":false,"funding":null},"html_url":"https://github.com/Azure","funding_links":[],"total_stars":207710,"followers":15199,"following":0,"created_at":"2022-11-02T16:20:18.910Z","updated_at":"2026-08-20T00:24:13.273Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure/repositories"},"tags":[{"name":"v5","sha":"829323503d1be3d00ca8346e5391ca0b07a9ab0d","kind":"tag","published_at":"2026-04-15T04:01:52.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v5","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v5","dependencies_parsed_at":"2026-08-18T05:18:02.742Z","dependency_job_id":null,"purl":"pkg:github/Azure/setup-kubectl@v5","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v5","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v5/manifests"},{"name":"v5.1.0","sha":"829323503d1be3d00ca8346e5391ca0b07a9ab0d","kind":"commit","published_at":"2026-04-15T02:08:33.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v5.1.0","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v5.1.0","dependencies_parsed_at":"2026-08-08T05:20:37.010Z","dependency_job_id":null,"purl":"pkg:github/Azure/setup-kubectl@v5.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v5.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v5.1.0/manifests"},{"name":"v5.0.0","sha":"15650b3ad78fff148532a140b8a4c821796b2d7b","kind":"commit","published_at":"2026-03-25T17:25:33.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v5.0.0","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v5.0.0","dependencies_parsed_at":"2026-08-08T05:20:38.275Z","dependency_job_id":null,"purl":"pkg:github/Azure/setup-kubectl@v5.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v5.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v5.0.0/manifests"},{"name":"v4","sha":"776406bce94f63e41d621b960d78ee25c8b76ede","kind":"tag","published_at":"2025-06-20T22:47:01.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v4","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v4","dependencies_parsed_at":"2026-08-18T05:18:02.666Z","dependency_job_id":null,"purl":"pkg:github/Azure/setup-kubectl@v4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v4/manifests"},{"name":"v4.0.1","sha":"776406bce94f63e41d621b960d78ee25c8b76ede","kind":"commit","published_at":"2025-06-20T22:46:36.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v4.0.1","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v4.0.1","dependencies_parsed_at":"2025-07-02T05:59:34.917Z","dependency_job_id":null,"purl":"pkg:github/Azure/setup-kubectl@v4.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v4.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v4.0.1/manifests"},{"name":"vv4","sha":"0c5e050edfed71b2b50731ab044d42489d51c129","kind":"tag","published_at":"2025-02-07T20:01:36.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/vv4","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/vv4","dependencies_parsed_at":"2026-01-09T06:08:43.522Z","dependency_job_id":null,"purl":"pkg:github/Azure/setup-kubectl@vv4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/vv4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/vv4/manifests"},{"name":"vv4.0.0","sha":"0c5e050edfed71b2b50731ab044d42489d51c129","kind":"commit","published_at":"2025-02-07T20:01:06.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/vv4.0.0","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/vv4.0.0","dependencies_parsed_at":"2026-08-18T05:18:02.629Z","dependency_job_id":null,"purl":"pkg:github/Azure/setup-kubectl@vv4.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/vv4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/vv4.0.0/manifests"},{"name":"v4.0.0","sha":"3e0aec4d80787158d308d7b364cb1b702e7feb7f","kind":"commit","published_at":"2024-02-07T17:46:08.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v4.0.0","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v4.0.0","dependencies_parsed_at":"2024-02-08T04:07:35.083Z","dependency_job_id":null,"purl":"pkg:github/Azure/setup-kubectl@v4.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v4.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v4.0.0/manifests"},{"name":"v3.2","sha":"901a10e89ea615cf61f57ac05cecdf23e7de06d8","kind":"commit","published_at":"2023-01-09T18:58:02.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v3.2","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v3.2","dependencies_parsed_at":"2023-06-02T00:06:39.822Z","dependency_job_id":"0f006c62-0623-4f21-a7e6-aa268c8f5357","purl":"pkg:github/Azure/setup-kubectl@v3.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v3.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v3.2/manifests"},{"name":"v3","sha":"901a10e89ea615cf61f57ac05cecdf23e7de06d8","kind":"commit","published_at":"2023-01-09T18:58:02.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v3","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v3","dependencies_parsed_at":"2026-08-18T05:18:02.925Z","dependency_job_id":null,"purl":"pkg:github/Azure/setup-kubectl@v3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v3/manifests"},{"name":"v3.1","sha":"e1be5e75ed9741a7c467f4832ecb259a83174311","kind":"commit","published_at":"2022-12-05T18:21:32.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v3.1","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v3.1","dependencies_parsed_at":"2023-06-01T10:21:33.119Z","dependency_job_id":"894f6b92-3ab8-4670-963a-cfae0a344e69","purl":"pkg:github/Azure/setup-kubectl@v3.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v3.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v3.1/manifests"},{"name":"v3.0","sha":"7f7e5ba5ea3e491b92e6e8e5819963f8f3a1f076","kind":"commit","published_at":"2022-06-21T16:18:30.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v3.0","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v3.0","dependencies_parsed_at":"2023-05-30T21:26:17.387Z","dependency_job_id":"c45b7c80-a29e-47ff-ada1-076606b4394a","purl":"pkg:github/Azure/setup-kubectl@v3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v3.0/manifests"},{"name":"v2.1","sha":"6025c840858f1afa584a5190a4426c338f59e503","kind":"commit","published_at":"2022-03-03T19:53:59.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v2.1","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v2.1","dependencies_parsed_at":"2023-05-30T21:26:19.740Z","dependency_job_id":"8d022ed2-d291-4f7c-b481-cf5f8540cec9","purl":"pkg:github/Azure/setup-kubectl@v2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v2.1/manifests"},{"name":"v2.0","sha":"7ad2aa66bb42774adf65a0c580fbc96b2dadd747","kind":"commit","published_at":"2022-01-05T16:26:06.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v2.0","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v2.0","dependencies_parsed_at":"2023-05-30T21:26:20.911Z","dependency_job_id":"92dba9ac-6d8b-45aa-96ef-6370742cc2fe","purl":"pkg:github/Azure/setup-kubectl@v2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v2.0/manifests"},{"name":"v1","sha":"a625ca209b0faaa8871dac8fb5f50ee4b4d22622","kind":"tag","published_at":"2020-10-29T05:18:20.000Z","download_url":"https://codeload.github.com/Azure/setup-kubectl/tar.gz/v1","html_url":"https://github.com/Azure/setup-kubectl/releases/tag/v1","dependencies_parsed_at":"2023-05-30T21:26:21.347Z","dependency_job_id":"2cee7363-d103-409c-94db-20decab1120b","purl":"pkg:github/Azure/setup-kubectl@v1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/tags/v1/manifests"}]},"repo_metadata_updated_at":"2026-08-20T05:42:47.026Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":43,"rankings":{"downloads":null,"dependent_repos_count":6.788147678656315,"dependent_packages_count":0.0,"stargazers_count":2.2373633338615115,"forks_count":1.6700998257011566,"docker_downloads_count":null,"average":2.6739027095547456},"purl":"pkg:githubactions/Azure/setup-kubectl","advisories":[{"uuid":"GSA_kwCzR0hTQS1wNzU2LXJmeGgteDYzaM4AAx-a","url":"https://github.com/advisories/GHSA-p756-rfxh-x63h","title":"Azure/setup-kubectl: Escalation of privilege vulnerability for v3 and lower","description":"### Impact\n\nThis vulnerability only impacts versions `v2` and lower. An insecure temporary creation of a file allows other actors on the Actions runner to replace the Kubectl binary created by this action because it is world writable. This Kubectl tool installer runs `fs.chmodSync(kubectlPath, 777)` to set permissions on the Kubectl binary, however, this allows any local user to replace the Kubectl binary. This allows privilege escalation to the user that can also run kubectl, most likely root. This attack is only possible if an attacker somehow breached the GitHub actions runner or if a user is utilizing an Action that maliciously executes this attack.\n\nNo impacted customers have been reported.\n\n### Patches\n\nThis has been fixed and released in all versions `v3` and later. 755 permissions are used instead.\n\n### Workarounds\n\nIf users absolutely cannot upgrade to `v3` or higher than they should be extra diligent of the other GitHub actions they are using in a workflow and ensure that their GitHub actions runner is secure.\n","origin":"UNSPECIFIED","severity":"LOW","published_at":"2023-03-07T20:07:27.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":0.0,"cvss_vector":null,"references":["https://github.com/Azure/setup-kubectl/security/advisories/GHSA-p756-rfxh-x63h","https://nvd.nist.gov/vuln/detail/CVE-2023-23939","https://github.com/Azure/setup-kubectl/commit/d449d75495d2b9d1463555bb00ca3dca77a42ab6","https://github.com/advisories/GHSA-p756-rfxh-x63h"],"source_kind":"github","identifiers":["GHSA-p756-rfxh-x63h","CVE-2023-23939"],"repository_url":"https://github.com/Azure/setup-kubectl","blast_radius":1.0,"created_at":"2023-03-07T21:03:12.272Z","updated_at":"2025-09-15T12:46:52.591Z","epss_percentage":0.00333,"epss_percentile":0.55497,"packages":[{"ecosystem":"actions","package_name":"Azure/setup-kubectl","versions":[{"first_patched_version":"3","vulnerable_version_range":"\u003c 3"}],"purl":null}]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/Azure/setup-kubectl","docker_dependents_count":1,"docker_downloads_count":90,"usage_url":"https://repos.ecosyste.ms/usage/actions/Azure/setup-kubectl","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/Azure/setup-kubectl/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-08-18T05:13:32.397Z","issues_count":28,"pull_requests_count":230,"avg_time_to_close_issue":8040349.047619048,"avg_time_to_close_pull_request":1241232.669950739,"issues_closed_count":21,"pull_requests_closed_count":203,"pull_request_authors_count":29,"issue_authors_count":28,"avg_comments_per_issue":3.0357142857142856,"avg_comments_per_pull_request":0.4826086956521739,"merged_pull_requests_count":135,"bot_issues_count":1,"bot_pull_requests_count":150,"past_year_issues_count":3,"past_year_pull_requests_count":20,"past_year_avg_time_to_close_issue":22382151.0,"past_year_avg_time_to_close_pull_request":1003953.1538461539,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":13,"past_year_pull_request_authors_count":4,"past_year_issue_authors_count":3,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.35,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":17,"past_year_merged_pull_requests_count":9,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fsetup-kubectl/issues","maintainers":[{"login":"davidgamero","count":14,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/davidgamero"},{"login":"OliverMKing","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/OliverMKing"},{"login":"Tatsinnit","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Tatsinnit"},{"login":"tbarnes94","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/tbarnes94"},{"login":"Josh-01","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Josh-01"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/Azure%2Fsetup-kubectl/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/Azure%2Fsetup-kubectl/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/Azure%2Fsetup-kubectl/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/Azure%2Fsetup-kubectl/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/Azure%2Fsetup-kubectl/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/Azure%2Fsetup-kubectl/codemeta","maintainers":[]}