Skip to content

[release-6.6] LOG-9759: pin journalctl_path in generated journald source - #3521

Open
openshift-cherrypick-robot wants to merge 1 commit into
openshift:release-6.6from
openshift-cherrypick-robot:cherry-pick-3491-to-release-6.6
Open

openshift-cherrypick-robot wants to merge 1 commit into
openshift:release-6.6from
openshift-cherrypick-robot:cherry-pick-3491-to-release-6.6

Conversation

@openshift-cherrypick-robot

Copy link
Copy Markdown

This is an automated cherry-pick of #3491

/assign jcantrill

The Vector journald source exposes an optional `journalctl_path`. When it
is unset Vector performs a PATH search for the `journalctl` binary, and the
field is config-controllable, so an injected config could point it at an
attacker-placed binary and achieve arbitrary binary execution
(LOG-9759 / FIND-003, CWE-73).

Harden the operator-generated collector config by pinning
`journalctl_path` to the trusted absolute path `/usr/bin/journalctl` (where
journalctl ships in the collector image). The deployed collector no longer
relies on a PATH search or a defaultable/overridable value.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@openshift-ci-robot

Copy link
Copy Markdown

@openshift-cherrypick-robot: Ignoring requests to cherry-pick non-bug issues: LOG-9759

Details

In response to this:

This is an automated cherry-pick of #3491

/assign jcantrill

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 openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai

coderabbitai Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: openshift/cluster-logging-operator/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: e31bd4dc-d10c-4ded-98db-cdb97562ae12

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@vparfonov

Copy link
Copy Markdown
Contributor

/retest-required

@jcantrill

Copy link
Copy Markdown
Contributor

/approve
/lgtm
/retest

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Oct 5, 2026
@openshift-ci

openshift-ci Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jcantrill, openshift-cherrypick-robot

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

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 5, 2026
@jcantrill

Copy link
Copy Markdown
Contributor

/label verified

@openshift-ci openshift-ci Bot added the verified Signifies that the PR passed pre-merge verification criteria label Oct 5, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 4adb073 and 2 for PR HEAD 72a99de in total

@vparfonov

Copy link
Copy Markdown
Contributor

/retest-required

1 similar comment
@jcantrill

Copy link
Copy Markdown
Contributor

/retest-required

@jcantrill

Copy link
Copy Markdown
Contributor

/retest

@jcantrill

Copy link
Copy Markdown
Contributor

/retest-required

1 similar comment
@vparfonov

Copy link
Copy Markdown
Contributor

/retest-required

@openshift-ci

openshift-ci Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

@openshift-cherrypick-robot: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/functional-target 72a99de link true /test functional-target
ci/prow/e2e-target 72a99de link true /test e2e-target

Full PR test history. Your PR dashboard.

Details

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-sigs/prow repository. I understand the commands that are listed here.

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. lgtm Indicates that a PR is ready to be merged. release/6.6 verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants