Skip to content

node-exporter: bump to v1.13.1 - #7197

Open
rene wants to merge 2 commits into
lf-edge:masterfrom
rene:bump-node-exporter
Open

rene wants to merge 2 commits into
lf-edge:masterfrom
rene:bump-node-exporter

Conversation

@rene

@rene rene commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Description

Bump the Prometheus node-exporter service image from v1.9.1 to v1.13.1.

The v1.9.1 binary is built with Go 1.23.7, whose crypto/x509 is affected by
CVE-2025-61729 / BIT-golang-2025-61729
(excessive CPU/memory use while formatting a HostnameError for a certificate
with a large SAN list), fixed in Go 1.24.11 / 1.25.5. The v1.13.1 binary is
built with Go 1.27.4.

None of the upstream changes between v1.9.1 and v1.13.1 affect the flags EVE
passes (--path.procfs, --path.sysfs, --path.rootfs,
--collector.cgroups, --collector.processes). The only deprecation that
touches enabled collectors is the nvme_namespace_capacity_bytes metric
(replaced by nvme_namespace_size_bytes), which nothing in EVE consumes. The
image stays pinned by its multi-arch index digest (amd64, arm64, riscv64).

How to test and validate this PR

  1. Build the package test stage, which checks that the stripped binary still
    produces intact Go crash traces:

    docker build --rm --target test --progress=plain --no-cache pkg/node-exporter
  2. Boot an EVE image built from this PR and, from the EVE shell, check the
    running version and that the collectors scrape successfully:

    curl -s localhost:9100/metrics | grep -E '^node_exporter_build_info|node_scrape_collector_success\{collector="(cgroups|processes)"'

    Expected: version="1.13.1", goversion="go1.27.4", and both collectors
    reporting 1.

  3. Confirm the Prometheus metrics described in docs/PROMETHEUS_METRICS.md
    are still exported.

Done so far: step 1 passes, and the final image was run on amd64 with EVE's
flags and /proc, /sys and / mounted under /hostfs; it reported 1.13.1
/ go1.27.4 and both collectors succeeded. Not yet tested on an EVE device or
on arm64.

Changelog notes

Updated the node-exporter metrics service to v1.13.1, fixing CVE-2025-61729
in its Go runtime.

PR Backports

  • 17.0-stable: To be backported (ships node-exporter v1.9.1).
  • 16.0-stable: To be backported (ships node-exporter v1.9.1).
  • 14.5-stable: No, node-exporter is not available there.
  • 13.4-stable: No, node-exporter is not available there.

Checklist

  • I've provided a proper description

  • I've added the proper documentation

  • I've tested my PR on amd64 device

  • I've tested my PR on arm64 device

  • I've written the test verification instructions

  • I've set the proper labels to this PR

  • I've checked the boxes above, or I've provided a good reason why I didn't
    check them.

No documentation change is needed: no flags or exported behaviour change for
EVE. The image was tested in Docker on amd64 only; on-device amd64 and arm64
runs are pending.

🤖 Generated with Claude Code

v1.9.1 is built with Go 1.23.7, whose crypto/x509 is affected by
CVE-2025-61729 (excessive resource use formatting a HostnameError),
fixed in Go 1.24.11 / 1.25.5. v1.13.1 is built with Go 1.27.4.

None of the changes since v1.9.1 affect the flags EVE passes
(--path.*, --collector.cgroups, --collector.processes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
@rene rene added dependencies Pull requests that update a dependency file stable Should be backported to stable release(s) security Provides a security fix labels Nov 23, 2026
@codecov

codecov Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 31.45%. Comparing base (9267176) to head (4f3ea05).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7197      +/-   ##
==========================================
+ Coverage   30.99%   31.45%   +0.45%     
==========================================
  Files         562      573      +11     
  Lines      101231   102826    +1595     
==========================================
+ Hits        31380    32343     +963     
- Misses      67412    68087     +675     
+ Partials     2439     2396      -43     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

node-exporter v1.13.1 depends on github.com/pandatix/go-abnf
v0.5.5, which neither map lists. It is MIT-licensed and published
by Lucas Tesson.

Signed-off-by: eriknordmark <erik@zededa.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Evetest: Claude chose to skip 213 test/suite name(s) as unrelated to or redundant for this PR. Which ones and why: run summary.

Comment /evetest all to run the full suite, or /evetest <name> <name> ... to run only specific tests/suites.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file security Provides a security fix stable Should be backported to stable release(s)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants