LibreChatのLDAPログインで認証前にサーバーを停止させられる脆弱性
Summary
LibreChat 0.7.3から0.8.9より前の版には、ログインの処理で入力の型を十分に確認しない脆弱性があり、認証なしでサーバーを停止させられるおそれがあります。LDAPで登録されたユーザーのメールアドレスと文字列でないパスワードを含むJSONを送ると、Node.jsのプロセスが終了します。修正版は0.8.9です。CVSS v3.1のスコアは7.5、v4.0は8.7です。
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.
LibreChat 0.7.3から0.8.9より前の版には、ログインの処理で入力の型を十分に確認しない脆弱性があり、認証なしでサーバーを停止させられるおそれがあります。LDAPで登録されたユーザーのメールアドレスと文字列でないパスワードを含むJSONを送ると、Node.jsのプロセスが終了します。修正版は0.8.9です。CVSS v3.1のスコアは7.5、v4.0は8.7です。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| LibreChatLibreChat |
≥ 0.7.3, < 0.8.9→ 0.8.9 |
0.8.9 |
Original description The description as published by the source.
LibreChat 0.7.3 before 0.8.9 contains an improper input type validation vulnerability in the requireLdapAuth middleware of the /api/auth/login route that allows unauthenticated attackers to crash the server. Attackers can send a JSON login request with an existing directory user's email and a non-string password, triggering an ldapjs assertion error that terminates the Node.js process.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- 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