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

Update openssl to 3.3.2 under cloud-hypervisor-cvm in order to address CVE-2024-6119 #10475

Open
wants to merge 1 commit into
base: fasttrack/3.0
Choose a base branch
from

Conversation

jiria
Copy link
Member

@jiria jiria commented Sep 17, 2024

Update openssl to 3.3.2 under cloud-hypervisor-cvm in order to address CVE-2024-6119

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

This PR updates openssl dependency of cloud-hypervisor-cvm to version 3.3.2, as that is the version that contains a patch for CVE-2024-6119. The patch has been included into the vendored archive and is also part of this change.

Change Log
  • Cargo.lock patch of the openssl version and updated vendored archive name
Does this affect the toolchain?

NO

Links to CVEs
Test Methodology
  • Local build with RUN_CHECK=y

@jiria jiria requested a review from Redent0r September 17, 2024 22:48
# cd %%{name}-%%{version}
# cargo update -p openssl-src --precise 300.3.2+3.3.2
# diff -u ../cloud-hypervisor-msft-v38.0.72.2.backup/Cargo.lock Cargo.lock > ../upgrade-openssl-to-3.3.2-to-address-CVE-2024-6119.patch
Patch0: upgrade-openssl-to-3.3.2-to-address-CVE-2024-6119.patch
Copy link
Contributor

Choose a reason for hiding this comment

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

In theory we should be able to introduce openssh-devel and the rust build should use the system version of openssh and break the dependency on openssl. I think and I think that might be a better solution.

Copy link
Member Author

Choose a reason for hiding this comment

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

Is that something that you want to do as part of high sev CVE as opposed to merging as is and addressing separately?

Copy link
Contributor

Choose a reason for hiding this comment

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

I am ok taking it this way, but nobody will follow up on that until the next CVE issue. If my suggestion is correct, then it will be essentially fix this issue permanently...and I think that would be a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants