CVE-2025-64097
Last modified
CVE-2025-64097 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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 the predictable format of previously issued tokens. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
Description
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 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS: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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nerves-Hub | Nerveshub | >= 1.0.0, < 2.3.0 |
References
- https://github.com/nerves-hub/nerves_hub_web/pull/2024Issue Tracking, Patch
- https://github.com/nerves-hub/nerves_hub_web/releases/tag/v2.3.0Product, Release Notes
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-64097?
How severe is CVE-2025-64097?
How do I fix CVE-2025-64097?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-64091This vulnerability allows authenticated attackers to execute…8.8
- CVE-2025-64092This vulnerability allows unauthenticated attackers to injec…7.5
- CVE-2025-64093Remote Code Execution vulnerability that allows unauthentica…9.8
- CVE-2025-64094DNN (formerly DotNetNuke) is an open-source web content mana…5.4
- CVE-2025-64095DNN (formerly DotNetNuke) is an open-source web content mana…9.8
- CVE-2025-64096CryptoLib provides a software-only solution using the CCSDS …8.8
- CVE-2025-64098Fast DDS is a C++ implementation of the DDS (Data Distributi…5.9
- CVE-2025-64099Open Access Management (OpenAM) is an access management solu…8.1
- CVE-2025-6410A vulnerability was found in PHPGurukul Art Gallery Manageme…8.8
- CVE-2025-64100CKAN is an open-source DMS (data management system) for powe…6.1
- CVE-2025-64101Zitadel is open-source identity infrastructure software. Pri…8.8
- CVE-2025-64102Zitadel is open-source identity infrastructure software. Pri…9.8
Are you affected by CVE-2025-64097?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
