Vulnérabilité dans github.com/rabbitmq/amqp091-go (CVE-2026-77412)
Résumé
Vulnérabilité dans github.com/rabbitmq/amqp091-go (CVE-2026-77412). Risque d'opérations non autorisées ou de divulgation. Exploitable via readField. Atténuation : mise à jour vers 1.13.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
A vulnerability in the readField function allows a malicious or compromised AMQP server to trigger an unhandled runtime panic in the client application, leading to an immediate crash of the entire process.
Details
When parsing incoming AMQP frames, the readField function processes byte-array fields (type tag 'x') by reading a 32-bit big-endian integer to determine the length of the data payload.
// read.go:253-263
case 'x':
var len int32
if err = binary.Read(r, binary.BigEndian, &len); err != nil {
return nil, err
}
value := make([]byte, len) // PANICS if len < 0
If a server transmits a length value of 0xFFFFFFFF, it is interpreted by the client as a signed 32-bit integer with a value of -1. Passing a negative integer to Go's built-in make() function for slice allocation triggers an unrecoverable runtime panic (panic: len out of range).
Because the reader goroutine handles network I/O without an explicit recover() wrapper, this panic propagates up to the runtime root, abruptly terminating the host application.
Attack Vector / Exploitation Scenario
An attacker capable of spoofing, compromising, or controlling an AMQP broker can exploit this flaw during two primary phases:
- Connection Establishment: Sending a malicious connection.start handshake frame containing server-properties with an 'x' type field assigned a negative length.
- Message Delivery: Delivering a message payload where the header table contai…
Source: NIST National Vulnerability Database 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-77412 a été découverte dans github.com/rabbitmq/amqp091-go.
Des attaquants peuvent cibler un point d'entrée spécifique comme readField à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour github.com/rabbitmq/amqp091-go vers 1.13.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/rabbitmq/amqp091-go CVE-2026-77412 » sur le site de l'éditeur.
CVE-2026-77412 (github.com/rabbitmq/amqp091-go) — CWE-681
Surface d'attaque : readField
Correctif : 1.13.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.
Une vulnérabilité (CWE-681) affecte github.com/rabbitmq/amqp091-go. Les attaquants atteignent le code vulnérable via readField.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/rabbitmq/amqp091-go. Surface d'attaque : readField.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 1.13.0.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
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/rabbitmq/amqp091-go' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/rabbitmq/amqp091-goを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade github.com/rabbitmq/amqp091-go to 1.13.0ステージング環境で 1.13.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- web github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com