Casdoorに認証不要で大量のメモリを消費させられる脆弱性
Summary
Casdoorには、SAMLメッセージの展開処理に上限がないため、認証なしでサーバーのメモリを使い果たさせられる脆弱性が見つかっています。4.27.1より前のバージョンが影響を受け、攻撃を受けるとサーバーがクラッシュしたり応答しなくなったりするおそれがあります。修正版の4.27.1が公開されているので、速やかに更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Casdoorには、SAMLメッセージの展開処理に上限がないため、認証なしでサーバーのメモリを使い果たさせられる脆弱性が見つかっています。4.27.1より前のバージョンが影響を受け、攻撃を受けるとサーバーがクラッシュしたり応答しなくなったりするおそれがあります。修正版の4.27.1が公開されているので、速やかに更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CasdoorCasdoor |
< 4.27.1→ 4.27.1 |
4.27.1 |
Original description The description as published by the source.
Casdoor before 4.27.1 contains an uncontrolled resource consumption vulnerability in decodeSamlMessage that allows unauthenticated attackers to exhaust memory by sending unbounded DEFLATE-compressed SAML messages. Attackers can send a small, highly compressed SAMLRequest or SAMLResponse to the /api/saml/logout/:owner/:application endpoint, which inflates to gigabytes and crashes or stalls the server.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com