SecurityContext

CVE-2023-37264: Tekton Pipelines - Broken Access Control

  • Cve: CVE-2023-37264
  • Name: Tekton Pipelines - Broken Access Control
  • Description: Tekton Pipelines project provides k8s-style resources for declaring CI/CD-style pipelines. Starting in version 0.35.0, pipelines do not validate child UIDs, which means that a user that has access to create TaskRuns can create their own Tasks that the Pipelines controller will accept as the child Task. While the software stores and validates the PipelineRun's (api version, kind, name, uid) in the child Run's OwnerReference, it only store (api version, kind, name) in the ChildStatusReference. This means that if a client had access to create TaskRuns on a cluster, they could create a child TaskRun for a pipeline with the same name + owner reference, and the Pipeline controller picks it up as if it was the original TaskRun. This is problematic since it can let users modify the config of Pipelines at runtime, which violates SLSA L2 Service Generated / Non-falsifiable requirements. This issue can be used to trick the Pipeline controller into associating unrelated Runs to the Pipeline, feeding its data through the rest of the Pipeline. This requires access to create TaskRuns, so impact may vary depending on one Tekton setup. If users already have unrestricted access to create any Task/PipelineRun, this does not grant any additional capabilities. As of time of publication, there are no known patches for this issue.
  • Impact: Attackers can manipulate pipeline configurations at runtime, potentially leading to data tampering or unauthorized pipeline execution.
  • Remediation: No known patches available; consider restricting TaskRun creation permissions or applying custom validation until official fix is released.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker needs permission to create TaskRuns
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00376
  • Epss percentile: 0.32255
  • Assignee: [email protected]
  • Published at: 2023-07-07T17:15:10Z
  • Age in days: 1236
  • Modified at: 2026-06-17T06:07:50Z
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-37264
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-345Insufficient Verification of Data Authenticity

Public exploits

UrlSourceAdded date
https://github.com/tektoncd/pipeline/security/advisories/GHSA-w2h3-vvvq-3m53nvd2023-07-07

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/tektoncd/pipeline/security/advisories/GHSA-w2h3-vvvq-3m53Exploit
https://github.com/tektoncd/pipeline/blob/2d38f5fa840291395178422d34b36b1bc739e2a2/pkg/reconciler/pipelinerun/pipelinerun.go#L1358-L1372Product
https://pkg.go.dev/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1#ChildStatusReferenceProduct

Products

ProductAffectedPlatform boundSourcesUrl
linuxfoundation:tekton_pipelines>= 0.35.0nonvd/v1/products/linuxfoundation/tekton_pipelines

Projects

RepositoryLink kindsIndexedUrl
tektoncd/pipelinepackage, security_advisoryyes/v1/repositories/tektoncd/pipeline

Index

  • Repositories: 22
  • Repositories high signal: 8
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-07-07
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts