> CVE-2025-64097 [CRITICAL]

« BACK_TO_HOME
PUBLISHED
2026-01-22 15:16
MODIFIED
2026-01-22 15:16
CVSS_SCORE V3
9.5
EPSS (Prob. Exploit)
0.47%
Top 59.3%
DATA SOURCES:
NVD đź”— 2026-01-22 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-08 OSV đź”— 2026-11-08

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
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

> MÉTRIQUES CVSS DÉTAILLÉES

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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-330

> CWE DETAILED DESCRIPTIONS

CWE-330: Use of Insufficiently Random Values - The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

NervesHub has Insufficient Token Entropy that Allows Authentication Bypass via Brute Force

AFFECTED PACKAGES:
Unknown / Unknown
ALIASES:
GHSA-m9vj-776q-vc8m

> HISTORIQUE DES MODIFICATIONS

Première apparition
22/01/2026 15:16
Source: NVD
📊 ENRICHISSEMENT 01/02/2026 06:44
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-330: Use of Insufficiently Random Values - The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.
Total des modifications: 1 Dernière mise à jour: 9 months ago

> REFERENCES

https://github.com/nerves-hub/nerves_hub_web/pull/2024
https://github.com/nerves-hub/nerves_hub_web/releases/tag/v2.3.0
https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-m9vj-776q-...
« BACK_TO_HOME