Repository navigation
[DEPS] Pin OpenSSL 3.6.4 in vcpkg.json instead of 3.0.8 - #10269
Merged
Merged
Conversation
The vcpkg.json override held OpenSSL at 3.0.8, which the Linux DEBs and the macOS package bundle. 3.0.8 is affected by CVE-2025-15467 and CVE-2026-45447 (both High), and OpenSSL no longer supports the 3.0 series. Dropping the override is not enough: the baseline's 3.6.2 is affected by CVE-2026-45447 too, and vcpkg's newest 3.5 LTS release, 3.5.4, by both. 3.6.4#1, the registry's current port, has no published advisory. The pin came with #9800 to keep vcpkg's OpenSSL in the 3.0 series that the Ubuntu runners ship. A Python process whose ssl module had loaded the system libcrypto.so.3 first handed that older copy to vcpkg's libcurl, which needed newer symbols. Nothing loads vcpkg's OpenSSL into Python now: the CMake presets set PYOPENMS=OFF, test.yml builds no pyOpenMS, the wheels are built without vcpkg, and the DEB ships no Python module. OpenSSL supports 3.6 until 2026-11-01, so the pin needs a follow-up before then: 4.0 once vcpkg packages it, or 3.5.7 or later from an overlay port. A vcpkg dry run (tool 2026-05-27, baseline f9ffbaa4, x64-linux-dynamic, with the presets' manifest features) resolves [email protected]#1 and leaves the rest of the plan unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YC1T2K9HQEUk2kQMZqC8h7
Contributor
Author
|
@pjones Note the agents comment "If pyOpenMS is ever built against the vcpkg libraries on Linux, the clash comes back whenever ssl is imported before pyopenms. The durable fix then is to vendor the libraries under unique SONAMEs, as the wheels do, not to keep an OpenSSL series that is no longer supported." I am a bit lost here and would appreciate some external input if you have experience with that. |
timosachsenberg
commented
Sep 25, 2026
timosachsenberg
left a comment
Contributor
Author
There was a problem hiding this comment.
Reviewed at 98cbee8. I found no problems.
- Checked and matches the PR:
openssl3.6.4#1 is in microsoft/vcpkg'sversions/o-/openssl.json.baseline.jsonatf9ffbaapins 3.6.2#0. The CI log ofbuild-and-test (ubuntu-24.04, g++)installsopenssl:[email protected]#1, so the override resolves. - CHANGELOG claims I ran: the 3.5.0 x86_64 DEB bundles
libcrypto.so.3, which reports "OpenSSL 3.0.2". The 2026-09-24 nightly DEB bundles 3.0.8, so develop's old pin did take effect. - Not verified: the details of CVE-2026-45447, the macOS
.pkgcontents, and a DEB built from this branch. I did not build one.
Generated by Claude Code
Contributor
Author
|
Will check in Test lab |
timosachsenberg
pushed a commit
that referenced
this pull request
Sep 26, 2026
Resolves the CHANGELOG conflict with #10269, which added its OpenSSL entry at the end of the Dependencies section where this branch added the MaRaCluster entry; both entries are kept. vcpkg.json merges cleanly: the OpenSSL override from #10269 and this branch's openms-thermo-bridge dependency change touch different lines. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NgnkdZCjwS6LE8cufGTDJU
4 of 5 tasks
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.
Description
vcpkg.jsonoverrides OpenSSL to 3.0.8. That is the OpenSSL the Linux DEBs and the macOS package bundle, and the 3.6.0 release-readiness check fails on it (F6). This PR moves the override to 3.6.4#1 and adds a line to the CHANGELOG's Dependencies section.Why 3.6.4. It is the only OpenSSL in the vcpkg registry with no published advisory. The advisory status comes from openssl-library.org's per-series lists; support dates come from the OpenSSL release strategy.
f9ffbaa4, if the override were droppedvcpkg packaged no 3.0.x release after 3.0.8. Port-version 1 only changes how the portfile disables assembler for universal macOS and iOS builds, which OpenMS's triplets don't use.
Why the pin was there. It came in with #9800. The review thread explains it (discussion_r3767190690): on the Ubuntu runners, Python's
sslmodule loads the systemlibcrypto.so.3(3.0.13) before pyOpenMS is imported. Both copies share that SONAME, so vcpkg's libcurl got the older copy and was missing 3.2+ symbols. Holding vcpkg at 3.0.x avoided that.Nothing loads vcpkg's OpenSSL into a Python process today:
PYOPENMS=OFF;test.ymlbuilds no pyOpenMS (see.github/actions/build/action.yml);If pyOpenMS is ever built against the vcpkg libraries on Linux, the clash comes back whenever
sslis imported beforepyopenms. The durable fix then is to vendor the libraries under unique SONAMEs, as the wheels do, not to keep an OpenSSL series that is no longer supported.Follow-up needed. OpenSSL supports 3.6 only until 2026-11-01. Before then the pin has to move again: to 4.0 once vcpkg packages it, or to 3.5.7 or later through an overlay port. #10270 tracks this.
Validation
vcpkg install --dry-runforx64-linux-dynamic, using the same vcpkg tool (2026-05-27) and baseline (f9ffbaa4) as CI, with the presets'VCPKG_MANIFEST_FEATURES. It resolvesopenssl:[email protected]#1, git tree1171a679. Every other package in the plan is the same as on develop, which resolves[email protected].ssl), libzip (default-aes), arrow and thrift, and aws-sdk-cpp/s2n/aws-c-cal through arrow'ss3feature. None of the overlay ports depend on it.vcpkg.json, so this PR's CI rebuilds every vcpkg dependency on all four platforms. Expect a long first run.Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01YC1T2K9HQEUk2kQMZqC8h7
Summary by CodeRabbit