- Accueil
- Vulnérabilités
- CVE-2025-71397
CVE-2025-71397
SurrealDB before 2.2.2 CPU Exhaustion via nested FOR loops
Résumé
SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 allows authenticated users with OWNER or EDITOR permissions (at the root, namespace, or database level) to define custom database functions via DEFINE FUNCTION using nested FOR loops. Although a single loop's iteration count is constrained, nesting multiple loops (e.g., each with 1,000,000 iterations) is not, so an attacker can execute a function that consumes all server CPU time. Configured timeouts do not stop the execution, rendering the server unresponsive to other queries and connections until it is manually restarted.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Surrealdb (6 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Surrealdb | de 2.2.0 (inclus) à 2.2.2 (exclu) |
— | CNA (éditeur ou attributeur) |
| Surrealdb | de 2.1.0 (inclus) à 2.1.5 (exclu) |
— | CNA (éditeur ou attributeur) |
| Surrealdb | avant 2.0.5 (exclu) |
— | CNA (éditeur ou attributeur) |
| Surrealdb | avant 2.0.5 (exclu) |
— | NVD |
| Surrealdb | de 2.1.0 (inclus) à 2.1.5 (exclu) |
— | NVD |
| Surrealdb | de 2.2.0 (inclus) à 2.2.2 (exclu) |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-835 · Autre (CWE-835)