esamlで未認証の攻撃によりノードが停止する恐れ
概要
細工されたSAMLResponseを送り付けられることで、Erlang VMのアトムテーブルが枯渇し、ノードがクラッシュする可能性があります。認証前の処理で発生するため、認証は不要です。対象はesamlの0.1.0以降で、修正版は公開されていないため、最新の情報を確認してください。
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
細工されたSAMLResponseを送り付けられることで、Erlang VMのアトムテーブルが枯渇し、ノードがクラッシュする可能性があります。認証前の処理で発生するため、認証は不要です。対象はesamlの0.1.0以降で、修正版は公開されていないため、最新の情報を確認してください。
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| arekinath | esaml |
deeb84378d5c82153b470e99d24f77c38afca14a 以上(直った版なし) |
— |
| handnot2 | esaml |
deeb84378d5c82153b470e99d24f77c38afca14a 以上(直った版なし) |
— |
| dropbox | esaml |
deeb84378d5c82153b470e99d24f77c38afca14a 以上(直った版なし) |
— |
| Hex | esaml |
0.1.0 以上(直った版なし) |
— |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Allocation of Resources Without Limits or Throttling vulnerability in esaml_binding in dropbox esaml allows an unauthenticated attacker to exhaust the Erlang VM atom table and crash the node via a crafted SAMLResponse.
esaml_binding:decode_response/2 parses the decoded SAMLResponse with xmerl_scan:string/2, which interns every element name, attribute name, and namespace prefix it reads as a permanent atom. The SAML consume (ACS) and single-logout endpoints call it on unauthenticated requests before any signature check, so one well-formed document with thousands of distinct names mints thousands of atoms while staying inside the 128 KB request body limit. Atoms are never reclaimed and the VM caps the atom table at about one million entries, so a few dozen requests abort the node.
This issue affects esaml: from 0.1.0 onward.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory cna.erlef.org
- advisory nvd.nist.gov
- advisory github.com
- package hex.pm
- package github.com
- package github.com
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web osv.dev
- web github.com
- web github.com
- web repo.hex.pm