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

Mon, 04 Nov 2024 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Tektoncd
Tektoncd pipeline
CPEs cpe:2.3:a:tektoncd:pipeline:*:*:*:*:*:*:*:*
Vendors & Products Tektoncd
Tektoncd pipeline
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2023-07-07T16:23:09.866Z

Updated: 2024-11-04T20:23:21.819Z

Reserved: 2023-06-29T19:35:26.438Z

Link: CVE-2023-37264

cve-icon Vulnrichment

Updated: 2024-08-02T17:09:33.271Z

cve-icon NVD

Status : Modified

Published: 2023-07-07T17:15:10.280

Modified: 2024-11-21T08:11:20.890

Link: CVE-2023-37264

cve-icon Redhat

Severity : Moderate

Publid Date: 2023-07-07T00:00:00Z

Links: CVE-2023-37264 - Bugzilla