Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2023-37264

Опубликовано: 07 июл. 2023
Источник: redhat
CVSS3: 4.3
EPSS Низкий

Описание

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.

Отчет

The affected component "github.com/tektoncd/pipeline/cmd/controller" is not shipped in any of the Red Hat products.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
OpenShift PipelinestektoncdNot affected
OpenShift Serverlessknative-cliNot affected
OpenShift Serverlessknative-eventingNot affected
OpenShift Serverlessknative-servingNot affected
Red Hat OpenShift Container Platform 4odh-operator-base-containerNot affected
Red Hat OpenShift Container Platform 4odh-operator-containerNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-gcp-filestore-csi-driver-rhel8Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-gcp-pd-csi-driver-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift-pipelines-triggers-controller-rhel-8-containerNot affected
Red Hat OpenShift Container Platform 4openshift-pipelines-triggers-eventlistenersink-rhel-8-containerNot affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-345
https://bugzilla.redhat.com/show_bug.cgi?id=2229815tektoncd: pipelines do not validate child UIDs

EPSS

Процентиль: 24%
0.00082
Низкий

4.3 Medium

CVSS3

Связанные уязвимости

CVSS3: 3.7
nvd
больше 2 лет назад

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, feedi

CVSS3: 3.7
github
больше 2 лет назад

Pipelines do not validate child UIDs

EPSS

Процентиль: 24%
0.00082
Низкий

4.3 Medium

CVSS3