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

1.12.0 release notes don't mention breaking changes to fix vulnerability #2253

Closed
znewman01 opened this issue Sep 15, 2022 · 7 comments
Closed
Labels
bug Something isn't working

Comments

@znewman01
Copy link
Contributor

The v1.12.0 release contains a fix for GHSA-8gw7-4j42-w388 which is technically a breaking change (something that used to work no longer does).

While the advisory is called out at the top, it may not be clear to someone reading the release notes that this might cause issues without clicking through. Further, there's no guidance for how to fix it if their workflow was affected.

CC @cpanato @puerco any ideas on process fixes here?

@asraa
Copy link
Contributor

asraa commented Sep 15, 2022

Here's some guidance:

  • When using verify-blob with signatures created with keyless mode, we require either COSIGN_EXPERIMENTAL=1 or a valid Rekor bundle for offline verification passed with --bundle.

@znewman01
Copy link
Contributor Author

znewman01 commented Sep 15, 2022

A good note for this might be:

Note: This release comes with a fix for CVE-2022-36056 described in this [Github Security Advisory]> (GHSA-8gw7-4j42-w388). Please upgrade to this release ASAP

Highlights

BREAKING: The fix for GHSA-GHSA-8gw7-4j42-w388 (CVE-2022-36056) means that some verify-blob commands that used to work may not anymore. In particular:

  • When using verify-blob with signatures created with keyless mode, we require either COSIGN_EXPERIMENTAL=1 or a valid Rekor bundle for offline verification passed with --bundle.

If you upgrade and encounter other issues, please read the advisory in full; your prior checks may have been passing inappropriately.

EDIT: I'm cribbing @asraa's wording

@cpanato
Copy link
Member

cpanato commented Sep 15, 2022

Thank you

Will update the release notes with this

@cpanato
Copy link
Member

cpanato commented Sep 15, 2022

Updated

https://github.com/sigstore/cosign/releases/tag/v1.12.0

@znewman01
Copy link
Contributor Author

Great, thanks for the quick fix @cpanato 😄

Now, the long-run question: does our existing release notes tooling handle security advisory fixes? Is there a process fix here? I can imagine the same thing happening for any fix to an advisory.

@cpanato
Copy link
Member

cpanato commented Sep 16, 2022

we will improve in the release notes for sure, and i think in this case was a miscommunication :(

@cpanato
Copy link
Member

cpanato commented Sep 16, 2022

will close this

@cpanato cpanato closed this as completed Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants