CVE-2023-37264 json
Pipelines do not validate child UIDs
published 2023-07-07 3 y ago modified 2026-09-10 1 mo ago also GHSA-w2h3-vvvq-3m53 , GO-2023-1901 , EUVD-2023-2156
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-37264 updated cvss 4.3
tektoncd: pipelines do not validate child UIDs
-
Red Hat OpenShift Pipelines tektoncd Red Hat OpenShift Serverless knative-cli knative-cli, knative-serving knative-serving, knative-eventing knative-eventing Red Hat OpenShift Container Platform 4 odh-operator-container, odh-operator-base-container, openshift4/ose-gcp-pd-csi-driver-rhel9, openshift4/ose-gcp-filestore-csi-driver-rhel8, openshift-pipelines-triggers-webhook-rhel-8-container, openshift-pipelines-triggers-controller-rhel-8-container, +1 more Red Hat OpenShift Data Science (RHODS) rhods/odh-ml-pipelines-cache-rhel8, rhods/odh-ml-pipelines-persistenceagent-rhel8, rhods/odh-ml-pipelines-viewercontroller-rhel8, rhods/odh-ml-pipelines-scheduledworkflow-rhel8 Red Hat OpenShift GitOps openshift-gitops-1/kam-delivery-rhel8, openshift-gitops-managed-service-container, odh-ml-pipelines-persistenceagent-container, openshift-serverless-1-client-kn-rhel8-container Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-ssp-operator-rhel9, container-native-virtualization/kubevirt-tekton-tasks-operator, container-native-virtualization/kubevirt-template-validator-rhel9, container-native-virtualization/kubevirt-tekton-tasks-operator-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/tektoncd/pipeline/security/advisories/GHSA-w2h3-vvvq-3m53 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/tektoncd/pipeline | >=0.35.0, <=0.52.0 >=0.35.0 |
no fix listed |
Affected products
- tektoncd pipeline
Classification
- Weakness
-
- CWE-345 Insufficient Verification of Data Authenticity
References
-
github.com
/tektoncd/pipeline/security/advisories/GHSA-w2h3-vvvq-3m53
web, exploit, advisory
-
github.com
/tektoncd/pipeline/blob/2d38f5fa840291395178422d34b36b1bc739e2a2/pkg/reconciler/pipelinerun/pipelinerun.go#L13
web, product
-
pkg.go.dev
/github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1#ChildStatusReference
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2023-37264
advisory
-
github.com
/tektoncd/pipeline
package
Sources
- CVE List CVE-2023-37264
- GitHub Advisory GHSA-w2h3-vvvq-3m53
- NVD CVE-2023-37264
- OSV GO-2023-1901
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.