Repository navigation
Update Nexus to 3.94.3 to remove trust in eMudhra CAs - #5279
Conversation
Sonatype released Nexus 3.94.3 with container images that no longer trust the compromised eMudhra intermediate CAs. The update stays on the 3.94 line, so it does not need the required base telemetry of Nexus 3.97 and later. Bump the bundle version to 3.11.3.
Unit Test Results0 tests 0 ✅ 0s ⏱️ Results for commit 4c83b52. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the Nexus image and bundle patch update.
No open issues 🎉
What changed in this PR
Updates the Nexus shared-service image to address compromised eMudhra certificate chains while staying on the 3.94 release line, avoiding the mandatory telemetry introduced in 3.97.
Changes:
- Updates Nexus from
3.94.0to3.94.3and the bundle from3.11.2to3.11.3. - Adds an Unreleased bug-fix entry linked to issue #5276.
The PR reports successful local TLS and container-upgrade tests; Azure bundle deployment remains untested.
| File | Description |
|---|---|
templates/shared_services/sonatype-nexus-vm/porter.yaml |
Updates the Nexus image tag and bundle patch version. |
CHANGELOG.md |
Records the certificate-trust fix and bundle version. |
Review effort: Balanced
|
/test-shared-services accept_nexus_eula |
|
🤖 pr-bot 🤖 🏃 Running shared service tests: https://github.com/microsoft/AzureTRE/actions/runs/40670903808 (in response to this comment from Jay W (@JayDoubleu)) |
|
/test-force-approve The shared service tests in run 40670903808 passed for Nexus. This PR changes only the Nexus bundle.
In the The symptom is the same as in #5202, and the notifier failure is investigated separately. The API logs for this time are not available, because the API telemetry did not reach Application Insights in this environment. |
|
🤖 pr-bot 🤖 ✅ Marking tests as complete (for commit 4c83b52) (in response to this comment from Jay W (@JayDoubleu)) |
Resolves #5276
What is being addressed
The JVM in Nexus 3.94.0 trusts certificates from 8 eMudhra intermediate CAs. The private keys of these CAs are compromised (Sonatype advisory). The CA generated the keys incorrectly, and anyone can recover them from the public certificates (incident page).
On 28 October 2026, Sonatype released Nexus 3.94.3. The advisory lists 3.94.3 as a fixed version. The container images of 3.94.3 do not trust the compromised CAs.
This PR stays on the 3.94 line. It does not add the required base telemetry of Nexus 3.97 and later, and it does not need action from an operator. #5271 covers the upgrade to the latest Nexus version and its telemetry. PR #5278 does that upgrade.
How is this addressed
templates/shared_services/sonatype-nexus-vm/porter.yaml: change the image tag from3.94.0to3.94.3, and the bundle version from3.11.2to3.11.3.CHANGELOG.md: add a BUG FIXES entry.The bundle version is a patch version, because the upgrade does not need action from an operator. On an upgrade, the existing run command imports the new image and restarts the Nexus container on the same VM.
The Docker Hub tag
3.94.3has the digestsha256:0ac09d5b2a75f27f129859beff3bd196a410a5a7ebd7f7d7013359ebc97ed327. The tag3.94.3-alpinehas the same digest.Test results
JVM TLS test
The test runs a small Java client with the JVM and the default trust store of each image. The client connects to
pypi.org,files.pythonhosted.organd the 14 test hosts of the incident page.pypi.organdfiles.pythonhosted.orgdv-g3b-emudhra.we-have-a-problem.comdv-g3b-noct-emudhra.we-have-a-problem.com, with a certificate that is not in a CT logdv-g3b-aaa-emudhra.we-have-a-problem.comEach rejection is
SunCertPathBuilderException: unable to find valid certification path to requested target.Sonatype chain check
Sonatype added
EmudhraChainCheck.javatosonatype/docker-nexus3in PR 325. It tests the JVM against the 12 chains of the advisory. It also tests a re-encoded copy of each intermediate, so it has 24 cases. A re-encoded copy has different bytes but a valid signature. A block list of intermediate fingerprints does not stop it, but a removed root does.This JRE rejects all 24 compromised eMudhra chains and re-encoded variantsWhy one eMudhra root is still in the trust store
The JVM
cacertsand the OS bundle/etc/ssl/certs/ca-certificates.crtof the 3.94.3 image still contain one eMudhra root. This root isemSign Root CA - G1(SHA-25640:F6:AF:03:46:A9:9A:A1:CD:1D:55:5A:4E:9C:CE:62:C7:F9:63:46:03:EE:40:66:15:83:3D:C8:C8:D0:03:67).The compromised keys belong to 8 intermediate CAs, not to all eMudhra CAs. The fix of Sonatype (PR 324 and PR 325 on
sonatype/docker-nexus3) blocks the 4 roots that issued these intermediates:emSign Root TLS CA - G3emSign Root CS CA - G3emSign ECC Root CA - G3AAA Certificate Services(the Sectigo cross-sign)emSign Root CA - G1is not in this list. The tests found these facts:revoked-intermediates.sha256lists 16 certificates. These are the 8 intermediates, each with two issuers. Each issuer is a G3 root orAAA Certificate Services. G1 is not the issuer of any of them.blocked.certsof the JVM contains all 16 intermediate fingerprints and all 4 root fingerprints.cacertsand not in the OS bundle.These results apply to the published chains of the 8 compromised intermediates. The tests do not prove anything about other CAs under G1. It is possible that Sonatype, the JDK or the Alpine
ca-certificatespackage will remove or change G1 in the future. If that happens, a later image update will include the change.Local upgrade test (Podman)
Nexus/3.94.3-02 (COMMUNITY).After the upgrade, the status check showed two warnings:
Default Secret Encryption Key: this warning also shows on 3.94.0, because the test container has no encryption key.Scheduler: "Missing triggers were auto-recovered for 1 task". A restart of 3.94.0 on its own data gives the same warning, so the upgrade does not cause it.The packages that Nexus serves are a separate issue
This PR changes only the trust store of Nexus. It does not change the packages that Nexus serves. Many packages contain their own list of trusted CAs, for example
certifiandpipon PyPI. These packages continue to trust the compromised CAs until workspaces install fixed versions.Shared service tests in Azure
/test-shared-services accept_nexus_eularan in run 40670903808. The run deployed a new Nexus with bundle 3.11.3 and the image 3.94.3.Run E2E Tests (Smoke)Run E2E Tests (nexus)Run E2E Tests (other)The one failure was in the Airlock notifier test, which this PR does not change. One poll of the delete operation got HTTP 500 from the API. This comment gives the details.