Skip to content

[DEPS] Pin OpenSSL 3.6.4 in vcpkg.json instead of 3.0.8 - #10269

Merged
timosachsenberg merged 1 commit into
developfrom
claude/confident-lovelace-muuw2w
Sep 26, 2026
Merged

timosachsenberg merged 1 commit into
developfrom
claude/confident-lovelace-muuw2w

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Description

vcpkg.json overrides 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.

Version Source High advisories Supported until
3.0.8 current override CVE-2025-15467 (fixed in 3.0.19), CVE-2026-45447 (fixed in 3.0.21) no longer supported
3.5.4 newest 3.5 LTS release in vcpkg CVE-2025-15467 (fixed in 3.5.5), CVE-2026-45447 (fixed in 3.5.7) 2030-04-08
3.6.2 baseline f9ffbaa4, if the override were dropped CVE-2026-45447 (fixed in 3.6.3) 2026-11-01
3.6.4#1 registry HEAD none 2026-11-01

vcpkg 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 ssl module loads the system libcrypto.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:

  • the CMake presets set PYOPENMS=OFF;
  • test.yml builds no pyOpenMS (see .github/actions/build/action.yml);
  • the wheels are built without vcpkg, and auditwheel/delocate/delvewheel vendor their libraries under unique names;
  • the DEB ships no Python module.

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.

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-run for x64-linux-dynamic, using the same vcpkg tool (2026-05-27) and baseline (f9ffbaa4) as CI, with the presets' VCPKG_MANIFEST_FEATURES. It resolves openssl:[email protected]#1, git tree 1171a679. Every other package in the plan is the same as on develop, which resolves [email protected].
  • On Linux, OpenSSL is pulled in by curl (ssl), libzip (default-aes), arrow and thrift, and aws-sdk-cpp/s2n/aws-c-cal through arrow's s3 feature. None of the overlay ports depend on it.
  • The vcpkg binary cache key includes vcpkg.json, so this PR's CI rebuilds every vcpkg dependency on all four platforms. Expect a long first run.
  • Not run locally: the OpenMS build and unit tests. Only the manifest changed, and CI builds it on every platform.

Checklist

  • Make sure that you are listed in the AUTHORS file
  • Add relevant changes and new features to the CHANGELOG file
  • I have commented my code, particularly in hard-to-understand areas (n/a: JSON; the reasoning is in the commit message)
  • New and existing unit tests pass locally with my changes (not run locally; CI covers it)
  • Updated or added python bindings for changed or new classes (no updates needed)

🤖 Generated with Claude Code

https://claude.ai/code/session_01YC1T2K9HQEUk2kQMZqC8h7

Summary by CodeRabbit

  • Chores
    • Updated the OpenSSL version used in vcpkg builds to 3.6.4. Linux DEB packages and the macOS bundle also include this version.

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
@timosachsenberg

Copy link
Copy Markdown
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 timosachsenberg left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reviewed at 98cbee8. I found no problems.

  • Checked and matches the PR: openssl 3.6.4#1 is in microsoft/vcpkg's versions/o-/openssl.json. baseline.json at f9ffbaa pins 3.6.2#0. The CI log of build-and-test (ubuntu-24.04, g++) installs openssl:[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 .pkg contents, and a DEB built from this branch. I did not build one.

Generated by Claude Code

@timosachsenberg
timosachsenberg merged commit 95fd8cb into develop Sep 26, 2026
33 checks passed
@timosachsenberg
timosachsenberg deleted the claude/confident-lovelace-muuw2w branch September 26, 2026 15:55
@timosachsenberg

Copy link
Copy Markdown
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants