Tekton Pipelines: Controller can panic when setting long resolver names in TaskRun/PipelineRun
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.0.1, 1.3.3, 1.6.1, 1.9.2, 1.10.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. Versions 0.60.0 through 1.0.0, 1.1.0 through 1.3.2, 1.4.0 through 1.6.0, 1.7.0 through 1.9.0, 1.10.0, and 1.10.1 have a denial-of-service vulnerability in that allows any user who can create a TaskRun or PipelineRun to crash the controller cluster-wide by setting .spec.taskRef.resolver (or .spec.pipelineRef.resolver) to a string of 31+ characters. The crash occurs because GenerateDeterministicNameFromSpec produces a name exceeding the 63-character DNS-1123 label limit, and its truncation logic panics on a [-1] slice bound since the generated name contains no spaces. Once crashed, the controller enters a CrashLoopBackOff on restart (as it re-reconciles the offending resource), blocking all CI/CD reconciliation until the resource is manually deleted. Built-in resolvers (git, cluster, bundles, hub) are unaffected due to their short names, but any custom resolver name triggers the bug. The fix truncates the resolver-name prefix instead of the full string, preserving the hash suffix for determinism and uniqueness. This issue has been patched in versions 1.0.1, 1.3.3, 1.6.1, 1.9.2 and 1.10.2.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- tektoncd pipeline
From 0.60.0 · fixed in 1.0.1; From 1.1.0 · fixed in 1.3.3; From 1.4.0 · fixed in 1.6.1; From 1.7.0 · fixed in 1.9.2; From 1.10.0 · fixed in 1.10.2
- github.com/tektoncd/pipelineGo
From 0.60.0 · fixed in 1.0.1
- github.com/tektoncd/pipelineGo
From 1.1.0 · fixed in 1.3.3
- github.com/tektoncd/pipelineGo
From 1.4.0 · fixed in 1.6.1
- github.com/tektoncd/pipelineGo
From 1.7.0 · fixed in 1.9.2
- github.com/tektoncd/pipelineGo
From 1.10.0 · fixed in 1.10.2
- github.com/tektoncd/pipelineGo
From 0.60.0 · fixed in 1.0.1; From 1.1.0 · fixed in 1.3.3; From 1.4.0 · fixed in 1.6.1; From 1.7.0 · fixed in 1.9.2; From 1.10.0 · fixed in 1.10.2