Release with Go >= 1.27.3 to remediate eMudhra intermediate CA compromise

Đang mở
#3,875 2 bình luận 5 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, go
Lĩnh vực
release

Hướng nghiên cứu

Read the release configuration in .promu.yml and .promu-cgo.yml, then check the quay.io/prometheus/golang-builder:1.27-base toolchain and the existing release workflow. Confirm a release binary reports Go 1.27.3 or later, then rebuild and publish container images with updated CA certificates that distrust the named compromised roots.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Summary

Please cut a new node_exporter release built with Go 1.27.3 (or 1.26.10) or later. Those Go versions block the compromised eMudhra intermediates.

Background

On October 19 the Go team shipped Go 1.27.3 and 1.26.10 as an URGENT security release. Those versions block certificates that chain to the eight compromised eMudhra intermediate CAs. The intermediates chain to emSign ECC Root CA – G3. A Go binary is protected only if it is rebuilt with one of the patched toolchains. On Linux, Go uses its own verifier, so updating the host CA store does not fix binaries built with an older Go.

node_exporter is affected through TLS verification in crypto/x509, for example client certificate verification when --web.config.file is used.

Current state
  • The latest release is v1.12.1 (2026-07-14). It was built with Go 1.26 before the fix, so it still trusts the compromised intermediates.
  • master is already in good shape: .promu.yml and .promu-cgo.yml use Go 1.27. The quay.io/prometheus/golang-builder:1.27-base image ships go1.27.3. A binary built from master with that toolchain reports go1.27.3 in go version <binary>, and govulncheck -mode=binary finds no vulnerabilities that the code calls.

So no code changes seem to be needed. Only a release (and refreshed container images) is.

Request
  • Cut a release (for example v1.12.2 or v1.13.0) from master with the current Go 1.27.x toolchain (>= 1.27.3).
  • Rebuild and publish the container images on current base images, so the bundled CA certificates distrust "emSign ECC Root CA - G3" and "Comodo AAA Services root".

Downstream users who bake node_exporter into images are blocked on this. Prometheus v3.15.1 and blackbox_exporter v0.29.1 have already shipped with both changes. The same two [SECURITY] changelog entries would fit here.

Thanks!

Ngôn ngữ chính
Go
Star
13.9k
Fork
2.8k
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
16

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của prometheus/node_exporter

Tất cả issue của prometheus/node_exporter

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.