Security Resilience

CVE-2025-64097

Crypto Weakness in Nerves-Hub Nerveshub 1.0.0 – 2.3.0

Published
22 January 2026
Modified
17 February 2026
Patch / advisory
CVSS Score v4 9.5
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0047 41th percentile
Risk Priority 46 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-64097 is a critical-severity Use of Insufficiently Random Values (CWE-330) vulnerability in Nerves-Hub Nerveshub. Its CVSS base score is 9.5 (Critical).

Operationally, ranked at the 41th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-12 (Cryptographic Key Establishment and Management) and SC-13 (Cryptographic Protection) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-64097 is a vulnerability in NervesHub, a web service for managing over-the-air (OTA) firmware updates on field devices. Affecting versions from 1.0.0 up to but not including 2.3.0, the issue stems from predictably formatted user API tokens that incorporate user-identifiable components and lack cryptographic security. This design flaw, classified under CWE-330 (Use of Insufficiently Random Values), enables brute-force guessing or enumeration of tokens, with a CVSS v3.1 base score of 9.8 indicating critical severity (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Remote attackers require no privileges or user interaction to exploit this vulnerability over the network. By leveraging the predictable token structure, adversaries can enumerate or guess valid tokens, gaining unauthorized access to affected user accounts and executing API actions protected by those tokens, such as managing device firmware updates.

The fix is implemented in NervesHub version 2.3.0, which generates strong, cryptographically random tokens using `:crypto.strong_rand_bytes/1`, hashes tokens prior to database storage to mitigate compromise risks, and employs context-aware storage to differentiate session and API tokens. No practical workarounds exist beyond upgrading, though firewalling access to the NervesHub server offers temporary exposure reduction in sensitive environments. Details are available in the GitHub security advisory (GHSA-m9vj-776q-vc8m), pull request #2024, and release notes for v2.3.0.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

NervesHub is a web service that allows users to manage over-the-air (OTA) firmware updates of devices in the field. A vulnerability present starting in version 1.0.0 and prior to version 2.3.0 allowed attackers to brute-force user API tokens due to…

more

the predictable format of previously issued tokens. Tokens included user-identifiable components and were not cryptographically secure, making them susceptible to guessing or enumeration. The vulnerability could have allowed unauthorized access to user accounts or API actions protected by these tokens. A fix is available in version 2.3.0 of NervesHub. This version introduces strong, cryptographically-random tokens using `:crypto.strong_rand_bytes/1`, hashing of tokens before database storage to prevent misuse even if the database is compromised, and context-aware token storage to distinguish between session and API tokens. There are no practical workarounds for this issue other than upgrading. In sensitive environments, as a temporary mitigation, firewalling access to the NervesHub server can help limit exposure until an upgrade is possible.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-28806Same product: Nerves-Hub Nerveshub
CVE-2023-46740Shared CWE-330
CVE-2026-128047Shared CWE-330
CVE-2023-24478Shared CWE-330
CVE-2025-13470Shared CWE-330
CVE-2024-10604Shared CWE-330
CVE-2025-49198Shared CWE-330
CVE-2025-12787Shared CWE-330
CVE-2026-27755Shared CWE-330
CVE-2024-42165Shared CWE-330

Affected Assets

nerves-hub
nerveshub
1.0.0 — 2.3.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SC-12 requires proper cryptographic key establishment and management, which structurally mandates use of sufficient randomness for key generation.

SC-13 requires selection and implementation of approved cryptographic algorithms and methods, which inherently depend on and enforce sufficiently random values.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

Cryptographic controls require use of approved, sufficiently random values for keys and nonces.

finds

Security testing can detect weak randomness but does not prescribe the control itself.

prevents

Secure coding standards explicitly prohibit use of weak or predictable random number generators.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

References