Vulnérabilité dans protobufjs (CVE-2026-48712)
Résumé
Vulnérabilité dans protobufjs (CVE-2026-48712). Risque d'opérations non autorisées ou de divulgation. Exploitable via google.protobuf.Any. Atténuation : mise à jour vers 8.4.1 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
protobufjs could recurse without a depth limit while converting decoded messages to plain objects or JSON. This affected generated toObject() conversion and the custom google.protobuf.Any JSON conversion path.
A crafted protobuf binary payload containing deeply nested Any values could cause the JavaScript call stack to be exhausted during conversion to JSON.
Impact
An attacker who can provide protobuf binary data decoded by an application may be able to crash the process or otherwise cause message conversion to fail with a stack overflow.
This affects applications that decode untrusted protobuf input containing google.protobuf.Any values and then convert decoded messages to JSON or plain objects with JSON conversion enabled, for example through JSON.stringify(message), Message#toJSON(), or Type.toObject(message, { json: true }).
Applications that only decode and re-encode protobuf binary data without converting decoded messages to JSON are not directly affected by this issue.
Preconditions
- The application must decode protobuf binary data influenced by an attacker.
- The application schema must include
google.protobuf.Any, and the referencedtype_urlmust resolve to a message type in the loaded protobuf root. - The application must convert the decoded message to JSON or a plain object through an affected conversion path.
- The crafted input must contain deeply nested
Anyvalues that are expanded during conversion.
Workarounds…
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-48712 a été découverte dans protobufjs.
Des attaquants peuvent cibler un point d'entrée spécifique comme google.protobuf.Any à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 7.5/10.
Action : mettez à jour protobufjs vers 8.4.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « protobufjs CVE-2026-48712 » sur le site de l'éditeur.
CVE-2026-48712 (protobufjs) — CWE-674 / CVSS v3 7.5
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Surface d'attaque : google.protobuf.Any / Any / type_url
Correctif : 8.4.1 — appliquer immédiatement
Contournement : Avoid converting untrusted protobuf messages containing google.protobuf.Any values to JSON with affected versions.
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-674) affecte protobufjs. Les attaquants atteignent le code vulnérable via google.protobuf.Any sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de protobufjs. Surface d'attaque : google.protobuf.Any / Any / type_url.
Gravité : Élevée (CVSS 7.5/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 8.4.1.
Contournement : Avoid converting untrusted protobuf messages containing google.protobuf.Any values to JSON with affected versions.
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 'protobufjs' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
protobufjsを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Avoid converting untrusted protobuf messages containing `google.protobuf.Any` values to JSON with affected versions.パッチが適用されるまでの応急処置として、Avoid converting untrusted protobuf messages containing
google.protobuf.Anyvalues to JSON with affected versions. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade protobufjs to 8.4.1ステージング環境で 8.4.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- package github.com
- web github.com
- web github.com
- web nvd.nist.gov