← Back to Pull requests

fix: distrust roots used by compromised eMudhra intermediates #3635

Closed
unknown closed this pull request without merging on Oct 21, 2026 09:43 UTC
View on GitHub
unknown unknown commented on Oct 21, 2026 07:52 UTC
Author

What does this PR do?

Cherry-pick the identical Dockerfile change from #3634 (commit 81259a37704896cabefabb9e347e0c773b0ef6ce) onto main.

Apply the published RHEL workaround: blocklist Comodo AAA Services root and emSign ECC Root CA - G3, then regenerate the CA bundle in the certificate build stage before copying it into the operator image.

Motivation

The UBI CA bundle still accepts six of the twelve published eMudhra test chains. Go 1.26.10 already blocks the compromised intermediate keys, but the bundled trust store must also protect clients without that runtime mitigation, including the prebuilt SGC binary.

Additional Notes

This is a temporary workaround until UBI supplies an updated CA bundle. It removes trust in both roots, including otherwise legitimate chains terminating at them. Root extraction and bundle regeneration also succeed when a root is already distrusted or absent.

Minimum Agent Versions

None.

Describe your test plan

  • Built main's certificate stage with docker build --target certs -t datadog-operator:emudhra-main-certs ..

  • Confirmed its regenerated bundle is byte-for-byte identical to the final image bundle validated in #3634: all twelve incident sites rejected by curl, all twelve offline chains rejected by OpenSSL, and healthy controls accepted.

  • Tested standard SGC 7.84.0 with main's regenerated bundle: all twelve incident sites rejected with certificate errors; example.com and go.dev passed TLS verification.

  • GOTOOLCHAIN=go1.26.10 make lint: zero issues.

  • git diff --check origin/main...HEAD.

  • Confirmed the patch ID matches the original commit.
  • Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies

  • PR has a milestone or the qa/skip-qa label

  • All commits are signed
  • Diff: 238 lines (+178 / -60) across 2 files Reviewer: wdhif Review duration: 110m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 238 lines diff across 2 files
    0.37
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.328
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #3635"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 37.2% (MEDIUM) · Higher = larger blast radius
    37.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.7% · Safe to merge
    14.7%