Skip to content

Antalya 25.8 Backport of #127318 - Distrust the compromised eMudhra certificates - #2695

Merged
zvonand merged 2 commits into
antalya-25.8from
backports/antalya-25.8/127318
Oct 26, 2026
Merged

zvonand merged 2 commits into
antalya-25.8from
backports/antalya-25.8/127318

Conversation

@zvonand

@zvonand zvonand commented Oct 26, 2026

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Hardening: certificate chains containing the compromised eMudhra intermediate CAs or the roots that issued them (emSign Root TLS CA - G3, emSign ECC Root CA - G3) are rejected even if the trust store of the operating system still trusts them. The CA certificates embedded into the binary (used only when the system has none) are updated from the Chromium root store. There is no security issue in typical use cases. (ClickHouse#127318 by @alexey-milovidov)

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

…-certificates

Distrust the compromised eMudhra certificates

Conflicts committed as-is; the next commit resolves them:
- tests/integration/test_embedded_ca_certificates/test.py (modify/delete (deleted by us, changed by them))
@zvonand

zvonand commented Oct 26, 2026

Copy link
Copy Markdown
Member Author

Backporter: cherry-pick conflicts resolved by AI

Conflicted files:

  • tests/integration/test_embedded_ca_certificates/test.py (modify/delete (deleted by us, changed by them))

Commits:

  • dca4f5e: cherry-pick with the conflicts committed as-is

  • d97c40d: resolution

  • tests/integration/test_embedded_ca_certificates/test.py: modify/delete conflict. The source PR only lowered four thresholds (> 100 → > 50) in a test for the embedded CA certificate fallback, which doesn't exist on antalya-25.8. The cherry-pick would have added the full upstream file, so I removed it with git rm.

  • Applied cleanly: DistrustedCertificates.h/.cpp, the SSLManager::verifyCallback hook, and gtest_distrusted_certificates.cpp. The new .cpp is compiled through the existing GLOB src/*.cpp in base/poco/NetSSL_OpenSSL/CMakeLists.txt.

  • contrib/grpc bump (a703d1f → 68b2fe0, which updates the embedded roots.pem) applies to the same base commit antalya-25.8 already uses. On this branch it has no runtime effect, since nothing outside contrib/ uses the embedded bundle.

@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Workflow [PR], commit [bc57ee1]

Dropped the integration test for the embedded CA certificate fallback, which antalya-25.8 doesn't have; the Poco distrust check, gtest and grpc bump applied cleanly.
@zvonand
zvonand force-pushed the backports/antalya-25.8/127318 branch from d97c40d to bc57ee1 Compare October 26, 2026 16:25
@zvonand
zvonand merged commit f01ac98 into antalya-25.8 Oct 26, 2026
239 of 242 checks passed
@zvonand zvonand added the verified Approved for release label Oct 26, 2026
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