Repository navigation
blocked-edges/4.7.28: Block all incoming edges while we sort regexps - #1030
Merged
Merged
Conversation
I don't understand why the regexp I was dropping didn't match 4.7.23, but for some reason it wasn't: $ CHANNEL=fast-4.7 ~/src/openshift/cincinnati/hack/available-updates.sh 4.7.23 4.7.28 quay.io/openshift-release-dev/ocp-release@sha256:b3f38d58057a12b0477bf28971390db3e3391ce1af8ac06e35d0aa9e8d8e5966 https://access.redhat.com/errata/RHSA-2021:3262 We don't want folks going from safe releases to this vulnerable release, so block everyone for a bit while we figure out how to phrase "but not 4.7.24".
Member
|
/lgtm |
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sdodson, wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
wking
added a commit
to wking/cincinnati-graph-data
that referenced
this pull request
Sep 2, 2021
History: * 2a70cf5 (blocked-edges: Block some edges into 4.7.24, 4.7.28, 4.8.5, and 4.8.9 on CRI-O /run leak, 2021-08-31, openshift#1022) attempted nuanced edge blocking. * 49b5808 (blocked-edges/4.7.28: Explicitly anchor 'from' regexp with ^/$, 2021-09-01, openshift#1025) added anchors, to prevent things like the 4[.]7[.][0-9] alternative matching (and blocking) 4.7.24, and similar. * 9d348f9 (blocked-edges/4.7.28: Block all incoming edges while we sort regexps, 2021-09-01, openshift#1030), which went to .* because the anchored regexp was not matching as expected, and began allowing 4.7.23 -> 4.7.28 and similar. It turns out that the versions Cincinnati is comparing with are architecture-suffixed release names [1], not the raw release name from the release image's metadata. So 4.7.24+amd64, etc. The new regular expression restores the multiple alternatives and anchors, but includes a new '[+].*' portion to absorb the architecture suffix. [1]: https://github.com/openshift/cincinnati-graph-data/tree/f653d3828832c0869df0e44dd7af7fc9b2079a63#release-names
wking
added a commit
to wking/cincinnati-graph-data
that referenced
this pull request
Sep 2, 2021
History: * 2a70cf5 (blocked-edges: Block some edges into 4.7.24, 4.7.28, 4.8.5, and 4.8.9 on CRI-O /run leak, 2021-08-31, openshift#1022) attempted nuanced edge blocking. * 49b5808 (blocked-edges/4.7.28: Explicitly anchor 'from' regexp with ^/$, 2021-09-01, openshift#1025) added anchors, to prevent things like the 4[.]7[.][0-9] alternative matching (and blocking) 4.7.24, and similar. * 9d348f9 (blocked-edges/4.7.28: Block all incoming edges while we sort regexps, 2021-09-01, openshift#1030), which went to .* because the anchored regexp was not matching as expected, and began allowing 4.7.23 -> 4.7.28 and similar. It turns out that the versions Cincinnati is comparing with are architecture-suffixed release names [1], not the raw release name from the release image's metadata. So 4.7.24+amd64, etc. The new regular expression restores the multiple alternatives and anchors, but includes a new '[+].*' portion to absorb the architecture suffix. [1]: https://github.com/openshift/cincinnati-graph-data/tree/f653d3828832c0869df0e44dd7af7fc9b2079a63#release-names
wking
added a commit
to wking/cincinnati-graph-data
that referenced
this pull request
Sep 2, 2021
History: * 2a70cf5 (blocked-edges: Block some edges into 4.7.24, 4.7.28, 4.8.5, and 4.8.9 on CRI-O /run leak, 2021-08-31, openshift#1022) attempted nuanced edge blocking. * 49b5808 (blocked-edges/4.7.28: Explicitly anchor 'from' regexp with ^/$, 2021-09-01, openshift#1025) added anchors, to prevent things like the 4[.]7[.][0-9] alternative matching (and blocking) 4.7.24, and similar. * 9d348f9 (blocked-edges/4.7.28: Block all incoming edges while we sort regexps, 2021-09-01, openshift#1030), which went to .* because the anchored regexp was not matching as expected, and allowed 4.7.23 -> 4.7.28 and similar. It turns out that the versions Cincinnati is comparing with are architecture-suffixed release names [1], not the raw release name from the release image's metadata. So 4.7.24+amd64, etc. The new regular expression restores the multiple alternatives and anchors, but includes a new '[+].*' portion to absorb the architecture suffix. [1]: https://github.com/openshift/cincinnati-graph-data/tree/f653d3828832c0869df0e44dd7af7fc9b2079a63#release-names
wking
added a commit
to wking/cincinnati-graph-data
that referenced
this pull request
Sep 2, 2021
History: * 2a70cf5 (blocked-edges: Block some edges into 4.7.24, 4.7.28, 4.8.5, and 4.8.9 on CRI-O /run leak, 2021-08-31, openshift#1022) attempted nuanced edge blocking. * 49b5808 (blocked-edges/4.7.28: Explicitly anchor 'from' regexp with ^/$, 2021-09-01, openshift#1025) added anchors, to prevent things like the 4[.]7[.][0-9] alternative matching (and blocking) 4.7.24, and similar. * 9d348f9 (blocked-edges/4.7.28: Block all incoming edges while we sort regexps, 2021-09-01, openshift#1030), which went to .* because the anchored regexp was not matching as expected, and allowed 4.7.23 -> 4.7.28 and similar. It turns out that the versions Cincinnati is comparing with are architecture-suffixed release names [1], not the raw release name from the release image's metadata. So 4.7.24+amd64, etc. The new regular expression restores the multiple alternatives and anchors, but includes a new '[+].*' portion to absorb the architecture suffix. [1]: https://github.com/openshift/cincinnati-graph-data/tree/f653d3828832c0869df0e44dd7af7fc9b2079a63#release-names
wking
added a commit
to wking/cincinnati-graph-data
that referenced
this pull request
Sep 2, 2021
History: * 2a70cf5 (blocked-edges: Block some edges into 4.7.24, 4.7.28, 4.8.5, and 4.8.9 on CRI-O /run leak, 2021-08-31, openshift#1022) attempted nuanced edge blocking. * 49b5808 (blocked-edges/4.7.28: Explicitly anchor 'from' regexp with ^/$, 2021-09-01, openshift#1025) added anchors, to prevent things like the 4[.]7[.][0-9] alternative matching (and blocking) 4.7.24, and similar. * 9d348f9 (blocked-edges/4.7.28: Block all incoming edges while we sort regexps, 2021-09-01, openshift#1030), which went to .* because the anchored regexp was not matching as expected, and allowed 4.7.23 -> 4.7.28 and similar. It turns out that the versions Cincinnati is comparing with are architecture-suffixed release names [1], not the raw release name from the release image's metadata. So 4.7.24+amd64, etc. The new regular expression restores the multiple alternatives and anchors, but includes a new '[+].*' portion to absorb the architecture suffix. [1]: https://github.com/openshift/cincinnati-graph-data/tree/f653d3828832c0869df0e44dd7af7fc9b2079a63#release-names
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I don't understand why the regexp I was dropping didn't match 4.7.23, but for some reason it wasn't:
We don't want folks going from safe releases to this vulnerable release, so block everyone for a bit while we figure out how to phrase "but not 4.7.24".