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.
Une vulnérabilité (CWE-400) affecte github.com/tendermint/tendermint. Les attaquants atteignent le code vulnérable via Timestamp.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/tendermint/tendermint. Surface d'attaque : Timestamp / Evidence / consensus / DuplicateVoteEvidence.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 0.34.3.
Contournement : There are no workarounds, other than upgrading to a patched version of Tendermint Core.
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 'github.com/tendermint/tendermint' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/tendermint/tendermintを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply 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. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade github.com/tendermint/tendermint to 0.34.3ステージング環境で 0.34.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web pkg.go.dev