Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1793340: Revert "images/tests: Globally-writeable /etc/passwd" #24556

Merged

Conversation

wking
Copy link
Member

@wking wking commented Feb 17, 2020

This reverts commit ca35cd6, #22592.

As described in that commit message, the access was broadened to allow ssh from containers launched from the tests image. But since openshift/release@7baa9f2e44 (openshift/release#6854) landed, we no longer need to SSH from those containers. Restore the usual access restrictions to address CVE-2019-19347.

This reverts commit ca35cd6, openshift#22592.

As described in that commit message, the access was broadened to allow
ssh from containers launched from the tests image.  But since
openshift/release@7baa9f2e44 (ci-operator/templates/openshift: Remove
Terraform-state-based SSH gathers, 2020-01-25, openshift/release#6854)
landed, we no longer need to SSH from those containers.  Restore the
usual access restrictions to address CVE-2019-19347[1].

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1793287
@openshift-ci-robot
Copy link

@wking: This pull request references Bugzilla bug 1793340, which is invalid:

  • expected the bug to target the "4.4.0" release, but it targets "4.5.0" instead

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

In response to this:

Bug 1793340: Revert "images/tests: Globally-writeable /etc/passwd"

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 bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 17, 2020
@wking
Copy link
Member Author

wking commented Feb 17, 2020

/bugzilla refresh

@openshift-ci-robot openshift-ci-robot added bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Feb 17, 2020
@openshift-ci-robot
Copy link

@wking: This pull request references Bugzilla bug 1793340, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

/bugzilla 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.

@sdodson
Copy link
Member

sdodson commented Feb 18, 2020

/approve
/lgtm
/retest

@sdodson
Copy link
Member

sdodson commented Feb 18, 2020

@staebler FYI

@wking
Copy link
Member Author

wking commented Feb 18, 2020

Failures look unrelated.

/retest

@wking
Copy link
Member Author

wking commented Feb 18, 2020

@sdodson, Prow seems to have missed your lgtm/approve. Resend?

@sttts
Copy link
Contributor

sttts commented Feb 18, 2020

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 18, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sdodson, sttts, wking

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

The pull request process is described here

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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 18, 2020
@openshift-merge-robot openshift-merge-robot merged commit 1ff31c5 into openshift:master Feb 18, 2020
@openshift-ci-robot
Copy link

@wking: All pull requests linked via external trackers have merged. Bugzilla bug 1793340 has been moved to the MODIFIED state.

In response to this:

Bug 1793340: Revert "images/tests: Globally-writeable /etc/passwd"

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.

@wking wking deleted the restore-passwd-restrictions branch February 19, 2020 14:46
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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants