Skip to content

Conversation

@r4f4
Copy link
Contributor

@r4f4 r4f4 commented Jan 5, 2023

A flaw was found in go-yaml. This issue occurs due to unbounded alias chasing, where a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.

r4f4 added 3 commits January 5, 2023 09:32
`github.com/go-yaml/yaml` is where the project lives but the package
should be import with `gopkg.in/yaml.v2` (https://gopkg.in/yaml.v2)
A flaw was found in go-yaml < 2.2.3. This issue occurs due to unbounded
alias chasing, where a maliciously crafted YAML file can cause the
system to consume significant system resources. If parsing user input,
this may be used as a denial of service vector.
@openshift-ci-robot
Copy link
Contributor

@r4f4: This pull request references Jira Issue OCPBUGS-5324, which is invalid:

  • expected the bug to target the "4.13.0" version, but it targets "4.12.0" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

A flaw was found in go-yaml. This issue occurs due to unbounded alias chasing, where a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.

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.

@openshift-ci-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Jan 5, 2023
@r4f4
Copy link
Contributor Author

r4f4 commented Jan 5, 2023

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Jan 5, 2023
@openshift-ci-robot
Copy link
Contributor

@r4f4: This pull request references Jira Issue OCPBUGS-5324, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.13.0) matches configured target version for branch (4.13.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @gpei

Details

In response to this:

/jira refresh

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.

@openshift-ci openshift-ci bot requested review from barbacbd, bostrt and gpei January 5, 2023 08:44
Copy link
Contributor

@barbacbd barbacbd left a comment

Choose a reason for hiding this comment

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

/lgtm but this also begs the question, should the installer have so many different yaml packages? The installer should probably try to drop to a common yaml package, suggesting the k8s package.

@barbacbd
Copy link
Contributor

barbacbd commented Jan 5, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 5, 2023
@sadasu
Copy link
Contributor

sadasu commented Jan 10, 2023

/approve

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 10, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sadasu

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 Jan 10, 2023
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD ed8b918 and 2 for PR HEAD 8c38a49 in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 14878f7 and 1 for PR HEAD 8c38a49 in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 11, 2023

@r4f4: 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/okd-e2e-aws-ovn-upgrade 8c38a49 link false /test okd-e2e-aws-ovn-upgrade
ci/prow/okd-e2e-aws-ovn 8c38a49 link false /test okd-e2e-aws-ovn
ci/prow/e2e-aws-ovn-disruptive 8c38a49 link false /test e2e-aws-ovn-disruptive
ci/prow/e2e-libvirt 8c38a49 link false /test e2e-libvirt
ci/prow/e2e-ovirt-sdn 8c38a49 link false /test e2e-ovirt-sdn

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

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD face870 and 0 for PR HEAD 8c38a49 in total

@openshift-merge-robot openshift-merge-robot merged commit 68d2bd6 into openshift:master Jan 12, 2023
@openshift-ci-robot
Copy link
Contributor

@r4f4: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-5324 has been moved to the MODIFIED state.

Details

In response to this:

A flaw was found in go-yaml. This issue occurs due to unbounded alias chasing, where a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.

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.

@r4f4
Copy link
Contributor Author

r4f4 commented Jan 12, 2023

/cherry-pick release-4.12

@openshift-cherrypick-robot

@r4f4: #6741 failed to apply on top of branch "release-4.12":

Applying: pkg/asset/manifests/vsphere: use correct import path for go-yaml
Using index info to reconstruct a base tree...
M	pkg/asset/manifests/vsphere/cloudproviderconfig.go
Falling back to patching base and 3-way merge...
Auto-merging pkg/asset/manifests/vsphere/cloudproviderconfig.go
CONFLICT (content): Merge conflict in pkg/asset/manifests/vsphere/cloudproviderconfig.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 pkg/asset/manifests/vsphere: use correct import path for go-yaml
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

Details

In response to this:

/cherry-pick release-4.12

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.

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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants