Résumé
Vulnérabilité dans surrealdb (CVE-2024-58368). Risque d'opérations non autorisées ou de divulgation. Atténuation : mise à jour vers >=1.1.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
The ID, DB and NS headers accepted by the SurrealDB HTTP REST API would fail to parse when containing some special characters. This would cause a panic which would crash the SurrealDB server, leading to denial of service.
This issue only affects the SurrealDB binary; it does not affect the SurrealDB library.
Impact
An unauthenticated client may issue an HTTP request to the SurrealDB HTTP REST API containing one of the affected headers with values containing special characters in order to crash the SurrealDB server. This does not require the SurrealDB server to be running with any specific capabilities other than exposing the affected interface.
Patches
- Version 1.1.0 and later are not affected by this issue.
Workarounds
Concerned users unable to update may want to limit untrusted access to the SurrealDB HTTP REST API unless such access is required by the application. To limit the impact of the denial of service, SurrealDB administrators may also want to ensure that the SurrealDB process is running so that it can be automatically re-started after a crash.
Resources
- #2985 (diff)
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé IA
Rédigé par une IA externe ; il peut contenir des erreurs. Vérifiez la description d'origine et les références ci-dessous avant d'agir.
Une vulnérabilité référencée CVE-2024-58368 a été découverte dans surrealdb.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 7.5/10.
Action : mettez à jour surrealdb vers >=1.1.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « surrealdb CVE-2024-58368 » sur le site de l'éditeur.
CVE-2024-58368 (surrealdb) — CWE-248 / CVSS v3 7.5
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Versions affectées : <1.1.0
Correctif : >=1.1.0 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
SurrealDBにおけるID、DB、NSヘッダ解析の不備
SurrealDB 1.1.0未満
未認証の攻撃者がサーバをクラッシュさせることで、サービス拒否を引き起こす可能性があるため重要
1.1.0以上のバージョンにアップデートすることで修正される
認証を厳格にすることでリスクを低減できる可能性がある
HTTPリクエストヘッダに特別な文字が含まれるリクエストを監視し、異常を検知する
Paquets affectés
Références
- advisory nvd.nist.gov
- package github.com
- web github.com
- web vulncheck.com
- web github.com
- web github.com
- web github.com
- web github.com