Skip to content

Fix cves release v0.19.x - #1548

Merged
tekton-robot merged 4 commits into
tektoncd:release-v0.19.xfrom
enarha:fix-cves-release-v0.19.x
Nov 30, 2026
Merged

tekton-robot merged 4 commits into
tektoncd:release-v0.19.xfrom
enarha:fix-cves-release-v0.19.x

Conversation

@enarha

@enarha enarha commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Changes

/kind security

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you review them:

  • Has Docs included if any changes are user facing
  • Has Tests included if any functionality added or changed
  • Tested your changes locally (if this is a code change)
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user-facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
  • Release notes contain the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

aThorp96 and others added 3 commits November 30, 2026 17:43
* fix(cel): switch SQL building from string to parameterization

Switch SQL building from string building to parameterized query builder.
This change protectes against various types of SQL injection by making
use of parameterized SQL queries like `query: "where username = ?", params: "jdoe"`.

SQL injection methods addressed:
- SQL termination inside of CEL string resolved by parameterized query
- SQL termination inside of CEL JSON key resolved by escaping - `-` escaped as `''`

Assisted-By: Claude Code

* fix(cel): parametrize json accessor keys

---------

Co-authored-by: Emil Natan <ena@redhat.com>
Open the configured LOGS_PATH as an os.Root and resolve each record's
path relative to it, so path traversal or symlinks in a log record's
status path can no longer read, modify, or delete files outside the
logs directory.

To support this, the Stream interface now embeds the io.Closer interface,
to release the root's file descriptor once a stream is finished.

Assisted-by: Crush:glm-5-3
Fixes: GO-2026-6880, GO-2026-6865.
@tekton-robot tekton-robot added kind/security Categorizes issue or PR as related to a security issue release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Nov 30, 2026
@tekton-robot tekton-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Nov 30, 2026
Switching to Go 1.26.10, gofmt check is failing. It interprets two
consecutive single quotes as old-style quotation marks and converts
them to a curly double quote. Just running gofmt changes the meaning of
the comment, so I rewrote it.

@olegbet olegbet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm

@tekton-robot

Copy link
Copy Markdown
Contributor

@olegbet: changing LGTM is restricted to collaborators

Details

In response to this:

/approve
/lgtm

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@enarha enarha added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 30, 2026
@tekton-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: olegbet

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot
tekton-robot merged commit 9e35f5f into tektoncd:release-v0.19.x Nov 30, 2026
12 checks passed
@enarha
enarha deleted the fix-cves-release-v0.19.x branch November 30, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/security Categorizes issue or PR as related to a security issue lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants