Catégories
CVE-2021-21271

Vulnérabilité dans github.com/tendermint/tendermint (CVE-2021-21271)

Résumé

Vulnérabilité dans github.com/tendermint/tendermint (CVE-2021-21271). Risque d'opérations non autorisées ou de divulgation. Exploitable via Timestamp. Atténuation : mise à jour vers 0.34.3 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Description

Tendermint Core v0.34.0 introduced a new way of handling evidence of misbehavior. As part of this, we added a new Timestamp field to Evidence structs. This timestamp would be calculated using the same algorithm that is used when a block is created and proposed. (This algorithm relies on the timestamp of the last commit from this specific block.)

In Tendermint Core v0.34.0-v0.34.2, the consensus reactor is responsible for forming DuplicateVoteEvidence whenever double signs are observed. However, the current block is still “in flight” when it is being formed by the consensus reactor. It hasn’t been finalized through network consensus yet. This means that different nodes in the network may observe different “last commits” when assigning a timestamp to DuplicateVoteEvidence.

In turn, different nodes could form DuplicateVoteEvidence objects at the same height but with different timestamps. One DuplicateVoteEvidence object (with one timestamp) will then eventually get finalized in the block, but this means that any DuplicateVoteEvidence with a different timestamp is considered invalid. Any node that formed invalid DuplicateVoteEvidence will continue to propose invalid evidence; its peers may see this, and choose to disconnect from this node. This bug means that double signs are DoS vectors in Tendermint Core v0.34.0-v0.34.2.

Tendermint Core v0.34.3 is a security release which fixes this…

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

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-2021-21271 a été découverte dans github.com/tendermint/tendermint.
Des attaquants peuvent cibler un point d'entrée spécifique comme Timestamp à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour github.com/tendermint/tendermint vers 0.34.3 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/tendermint/tendermint CVE-2021-21271 » sur le site de l'éditeur.

CVE-2021-21271 (github.com/tendermint/tendermint) — CWE-400
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : Timestamp / Evidence / consensus / DuplicateVoteEvidence
Correctif : 0.34.3 — appliquer immédiatement
Contournement : There are no workarounds, other than upgrading to a patched version of Tendermint Core.
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.

❓ Quel est le problème

Une vulnérabilité (CWE-400) affecte github.com/tendermint/tendermint. Les attaquants atteignent le code vulnérable via Timestamp.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de github.com/tendermint/tendermint. Surface d'attaque : Timestamp / Evidence / consensus / DuplicateVoteEvidence.

🔥 Gravité

Gravité : ?. Risque d'opérations non autorisées ou de divulgation.

🔧 Comment corriger

Mettre à jour vers 0.34.3.

🛡️ Contournement

Contournement : There are no workarounds, other than upgrading to a patched version of Tendermint Core.

🔍 Détection

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

  1. 1
    Identify exposure identify
    grep -r 'github.com/tendermint/tendermint' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で github.com/tendermint/tendermint を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaround mitigate
    There are no workarounds, other than upgrading to a patched version of Tendermint Core.

    パッチが適用されるまでの応急処置として、There are no workarounds, other than upgrading to a patched version of Tendermint Core. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade github.com/tendermint/tendermint to 0.34.3

    ステージング環境で 0.34.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Paquets affectés

Go github.com/tendermint/tendermint
[{"type":"SEMVER","events":[{"introduced":"0.34.0"},{"fixed":"0.34.3"}]}]

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus