CVE-2023-37264

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-37264
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-37264.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-37264
Aliases
Related
Withdrawn
2024-05-15T05:32:13.719581Z
Published
2023-07-07T17:15:10Z
Modified
2024-08-20T20:58:52.137324Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/tektoncd/pipeline

Affected ranges

Type
GIT
Repo
https://github.com/tektoncd/pipeline
Events

Affected versions

v0.*

v0.35.0
v0.35.1
v0.36.0
v0.36.1
v0.37.0
v0.37.1
v0.37.2
v0.37.3
v0.37.4
v0.37.5
v0.38.0
v0.38.1
v0.38.2
v0.38.3
v0.38.4
v0.39.0
v0.40.0
v0.40.1
v0.40.2
v0.41.0
v0.41.1
v0.41.2
v0.41.3
v0.42.0
v0.43.0
v0.43.1
v0.43.2
v0.44.0
v0.44.2
v0.44.3
v0.44.4
v0.44.5
v0.45.0
v0.46.0
v0.47.0
v0.47.1
v0.47.2
v0.47.3
v0.47.4
v0.47.5
v0.48.0
v0.49.0
v0.50.0
v0.50.1
v0.50.2
v0.50.3
v0.50.4
v0.50.5
v0.51.0
v0.52.0
v0.52.1
v0.53.0
v0.53.1
v0.53.2
v0.54.0