Vulnérabilité dans mariadb (CVE-2026-107382)
Résumé
Vulnérabilité dans mariadb (CVE-2026-107382). Risque d'opérations non autorisées ou de divulgation. Exploitable via Authentication.validateFingerPrint. Atténuation : mise à jour vers 3.5.4 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Description
On the zero-configuration TLS path, the connector accepts a self-signed server certificate at the TLS level and then validates the server's identity from the fingerprint hash the server appends to the final OK_Packet (Authentication.validateFingerPrint). That validation calls hash() on the authentication plugin in use to obtain the password-derived secret both sides combine with the seed and the certificate fingerprint.
Ed25519PasswordAuth.hash() referenced an identifier seed that was not in scope: it was neither a parameter of the method nor a module-scope binding, existing only as a parameter of the unrelated static encryptPassword(password, seed). Invoking the method therefore threw ReferenceError: seed is not defined.
The throw happens synchronously inside the socket data handler, and no frame between PacketInputStream.onData() and the plugin guards it, so the error escapes as an uncaught exception rather than surfacing as a connection error.
Because the fingerprint hash is what a legitimate MariaDB server sends on this path, ed25519 authentication with zero-configuration TLS never completed successfully — the failure is not limited to a hostile server.
Impact
Denial of service against the client process. Under Node's default uncaughtException behaviour the process exits, so a long-running service is terminated rather than seeing a failed connection attempt. No credential is disclosed and no data is altered; the impact is availabi…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-107382 a été découverte dans mariadb.
Des attaquants peuvent cibler un point d'entrée spécifique comme Authentication.validateFingerPrint à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 5.9/10.
Action : mettez à jour mariadb vers 3.5.4 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « mariadb CVE-2026-107382 » sur le site de l'éditeur.
CVE-2026-107382 (mariadb) — CWE-248 / CVSS v3 5.9
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : Authentication.validateFingerPrint / seed / data / uncaughtException
Correctif : 3.5.4 — appliquer immédiatement
Contournement : Provide the server certificate to the client (`ssl: { ca: ...
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.
Une vulnérabilité (CWE-248) affecte mariadb. Les attaquants atteignent le code vulnérable via Authentication.validateFingerPrint sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de mariadb. Surface d'attaque : Authentication.validateFingerPrint / seed / data / uncaughtException.
Gravité : Moyenne (CVSS 5.9/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 3.5.4.
Contournement : Provide the server certificate to the client (`ssl: { ca: ...
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'mariadb' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
mariadbを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Provide the server certificate to the client (`ssl: { ca: ...パッチが適用されるまでの応急処置として、Provide the server certificate to the client (`ssl: { ca: ... を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade mariadb to 3.5.4ステージング環境で 3.5.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。